-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
Milestone
Description
Hello,
Since the v8.0.0 of the provider, which removes the data source signalfx_azure_services
(to list available services for integration), I'm trying to pass empty list to enable integration on every services like it's documented here: https://registry.terraform.io/providers/splunk-terraform/signalfx/latest/docs/resources/azure_integration#services
or the provider CHANGELOG (https://github.com/splunk-terraform/terraform-provider-signalfx/blob/main/CHANGELOG.md#800) which says:
Users may use empty list to specify "all services" instead
My sample code:
resource "signalfx_azure_integration" "azure_integration" {
name = local.integration_name
enabled = var.enabled
environment = "azure"
services = []
...
}
The provider produce this error at plan:
╷
│ Error: Not enough list items
│
│ with module.signalfx_integrations_cloud_azure.module.sfx_integration.signalfx_azure_integration.azure_integration,
│ on .terraform/modules/signalfx_integrations_cloud_azure/cloud/azure/sfx/integrations-azure.tf line 12, in resource "signalfx_azure_integration" "azure_integration":
│ 12: services = []
│
│ Attribute services requires 1 item minimum, but config has only 0 declared.
╵
alanbty, zfiel, pdecat, BzSpi, Poil and 2 more