kayac / ecspresso

ecspresso is a deployment tool for Amazon ECS
MIT License
806 stars 90 forks source link

Add ignore.tags into a configuration. #728

Closed fujiwara closed 1 month ago

fujiwara commented 1 month ago

refs #726

This PR adds ignore.tags into a configuration.

For example, set "ecspresso:ignore" to ignore.tags as below,

ignore:
  tags:
    - ecspresso:ignore # ignore tags of service and task definition

ecspresso ignores the tag that the key equals "ecspresso:ignore" of ECS services and task definitions.

Even if the tag exists in definition files or resources in ECS, ecspresso does not edit the tags.

This is useful for managing some tags with other tools.