This provider allows Terraform to manage remote Synology NAS server.
This repo uses the Synology API client to access remote NAS from Go code.
Documentation Links
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"
}
}