-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more than 1 "service_registries" blocks are allowed #9573
Comments
Any update on this one? |
Any update yet on this one? |
I suppose this is the unfortunate answer:
|
So it seems AWS doesn't support multiple service registries for a service even though they have this parameter in their API as an array type. If that's the case then it won't be possible to fix that in the terraform provider. |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
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: