cloudstack-terraform-provider
cloudstack-terraform-provider copied to clipboard
Adding configuration resource
Adding cloudstack configuration resource.
- https://cloudstack.apache.org/api/apidocs-4.17/apis/updateConfiguration.html
- https://cloudstack.apache.org/api/apidocs-4.17/apis/listConfigurations.html
- https://cloudstack.apache.org/api/apidocs-4.17/apis/resetConfiguration.html
# cloudstack_configuration.example will be created
+ resource "cloudstack_configuration" "example" {
+ category = (known after apply)
+ description = (known after apply)
+ id = (known after apply)
+ is_dynamic = (known after apply)
+ name = "host"
+ scope = (known after apply)
+ value = "example"
}
This requires the latest client. See - https://github.com/apache/cloudstack-go/releases/tag/v2.14.0 https://github.com/apache/cloudstack-go/pull/47
@poddm thanks for the PR, do we need to use the latest go-sdk release (https://github.com/apache/cloudstack-go/releases) ? LGTM havn't tested it though. (closed/reopen PR to rekick Github actions build job)
@vishesh92, These were cascading changes from updating to the latest client sdk https://github.com/apache/cloudstack-go/pull/47. They were not meant to be committed.
I'll rebase when https://github.com/apache/cloudstack-terraform-provider/issues/101 is merged.
Update - I'd still like to get these merged once the cloudstack SDK is updated.
- https://github.com/apache/cloudstack-terraform-provider/pull/71
- https://github.com/apache/cloudstack-terraform-provider/issues/101
Related SDK changes
- https://github.com/apache/cloudstack-go/pull/47
- https://github.com/apache/cloudstack-go/pull/48
- https://github.com/apache/cloudstack-go/pull/52
Closing/re-opening to kick tests.
@poddm there are conflicts on the PR - can you please resolve?
@poddm Acceptance tests are failing. Can you check and fix those.