-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add option to pin service to task def revision #331
Conversation
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lg2m
This pull request includes updates to the ECS service configuration to add a new variable for pinning task definition revisions, and to removes the now unused
ignore_changes
variable.If you pin the revision, the ECS service won't be redeployed by terraform unless you manually update it. Task definitions will continue to be recreated, they just won't take effect.
ECS Service Configuration Updates:
service/README.md
: Added a new input variablepin_task_definition_revision
to specify the revision of the task definition to use. Removed theignore_changes
input variable.service/service.tf
: Updated thetask_definition
attribute to use thepin_task_definition_revision
variable if it is set. Adjusted thetriggers
attribute to use an empty map instead ofnull
whenforce_new_deployment
is true. [1] [2]service/variables.tf
: Added a new variablepin_task_definition_revision
to specify the revision of the task definition. Removed theignore_changes
variable. [1] [2]