You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module.service.aws_ecs_service.default[0]: Creating...
Error: failed creating ECS service (jenkins): InvalidParameterException: You cannot specify an IAM role for services that require a service linked role.
on .terraform/modules/service/[main.tf](http://main.tf/) line 631, in resource "aws_ecs_service" "default":
631: resource "aws_ecs_service" "default" {
Releasing state lock. This may take a few moments...
[terragrunt] 2022/09/30 10:54:48 Hit multiple errors:
exit status 1
When I am deleting service_registries, everything works fine.
Also switching network_mode to AWSVPC solves this problem too (due to lack of need for IAM policy in this case)
Environment:
Terraform = 0.14.11
Terragrunt = 0.25.3
AWS Provider = 3.75.2
The text was updated successfully, but these errors were encountered:
Describe the Bug
Can't deploy ECS service with enabled service discovery
Expected Behavior
ECS service with enabled service discovery
Steps to Reproduce
Module are used in this way (ECS + ALB + EFS + Service Discovery)
Now ECS service won't deploy cause of this error:
When I am deleting service_registries, everything works fine.
Also switching network_mode to AWSVPC solves this problem too (due to lack of need for IAM policy in this case)
Environment:
The text was updated successfully, but these errors were encountered: