terraform-provider-synology

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 5 Imported by: 0

README

Terraform Synology Provider

This provider allows Terraform to manage remote Synology NAS server.

This repo uses the Synology API client to access remote NAS from Go code.

Usage Example

The following example shows how to use synology_api to manage machine learning compute resource.

terraform {
  required_providers {
    synology = {
      source  = "synology-community/synology"
    }
  }
}

provider "synology" {
  # More information on the authentication methods supported by
  # the AzApi Provider can be found here:
  # https://registry.terraform.io/providers/synology-community/synology/latest/docs

  # subscription_id = "..."
  # client_id       = "..."
  # client_secret   = "..."
  # tenant_id       = "..."
}

resource "synology_api" "foo" {
  api        = "SYNO.Core.System"
  method     = "info"
  version    = 1
  parameters = {
    "query" = "all"
  }
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL