No more than 1 "service_registries" blocks are allowed #9573
Labels
bug
Addresses a defect in current functionality.
service/ecs
Issues and PRs that pertain to the ecs service.
upstream
Addresses functionality related to the cloud provider.
Community Note
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Multiple service_registries are used with single service.
Actual Behavior
Provider schema is capped at max one items: https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/resource_aws_ecs_service.go#L304
Steps to Reproduce
service_registries
within anaws_ecs_service
resource.terraform apply
References
Array of ServiceRegistry objects is supported in AWS API: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-serviceRegistries
Go API supports array of ServiceRegistry: https://docs.aws.amazon.com/sdk-for-go/api/service/ecs/#CreateServiceInput.SetServiceRegistries
The text was updated successfully, but these errors were encountered: