Add cloudstack_instance_group resource#1
Conversation
Introduces the `cloudstack_instance_group` resource (create/read/update/delete via the CloudStack instance-group APIs), with acceptance tests and documentation, and registers it in the provider's ResourcesMap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Marco Sinhoreli <msinhore@gmail.com>
|
Heads-up: this PR's failures are not the OpenTofu CI bug — the Instance groups in CloudStack are normally created implicitly by deploying a VM with a |
What
Adds the
cloudstack_instance_groupresource (create/read/update/delete via the CloudStack instance-group APIs), registered in the provider'sResourcesMap, with acceptance tests and website documentation.Why
Instance groups let operators organize VMs (and are surfaced by tooling such as the topology designer). The provider previously had no way to manage them.
Files
cloudstack/resource_cloudstack_instance_group.go(+ test)website/docs/r/instance_group.html.markdowncloudstack/provider.go(registration)🤖 Generated with Claude Code