serverless-fargate icon indicating copy to clipboard operation
serverless-fargate copied to clipboard

Other resources depending on these services

Open Avadakedvr opened this issue 1 year ago • 1 comments

While there is a dependsOn property to ensure certain resources are created before anything serverless-fargate creates, what about resources that must be created after anything serverless-fargate creates such as autoscaling policies? This is especially tricky because the logical IDs are generated via a manipulated string that includes the task name - hard to predict/use especially for feature branches - i.e. if the feature branch name is part of the task name!

You should create an option to allow the user to specify the logical ID of the AWS::ECS::Service resource and all other resources created by this plugin i.e. instead of manipulated task.name + "Service" here!

Avadakedvr avatar May 24 '24 13:05 Avadakedvr

Thanks for the raising this as an issue, just wondering have you put any thought into how you think the possible configuration could look?

eddmann avatar Jul 12 '24 18:07 eddmann