1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
I don't think capacity providers have a placeholder like <TASK_DEFINITION>.
Therefore, I thought that a workaround would be to use something like CodeBuild to rewrite the capacity provider name in appspec.yml during the build phase.
https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Thank you. But adding it on the Build would require us to change all the existing capacity providers to have the same name. What we are trying to do is make it dynamic. But to your point, it may just not be possible.