ecschedule icon indicating copy to clipboard operation
ecschedule copied to clipboard

Add config of `trackingId`

Open tomitamasa opened this issue 2 years ago • 4 comments

I have tried specifying a trackingId in YAML.

We have a problem when trying to use the -prune option in our project. Our project has multiple YAML files for the same environment, and when we execute a command with the -prune option, settings from the last apply YAML file overwrite the others.

Related Issue: https://github.com/Songmu/ecschedule/issues/92

A trackingId is explicitly specified in a configuration file.

region: ap-northeast-1
cluster: staging
role: ecsTaskExecutionRole
trackingId: test-tag
rules:
...

The EventBridge console image

When a trackingId is not specified, the default value is set to the cluster name (ex.staging). The EventBridge console image

this closes https://github.com/Songmu/ecschedule/issues/92

tomitamasa avatar Nov 26 '23 11:11 tomitamasa

@Songmu Thanks for the nice tool.

Could you please review this Pull Request? I apologize for the request I made during ISUCON last week.

tomitamasa avatar Dec 02 '23 11:12 tomitamasa

Thanks for the pull request! I see. I understood that it is a need to attach a specific identifier to a job, especially for deletion. Sorry for the delay in responding, let me give it some thought, including whether naming it trackingID is appropriate.

Songmu avatar Dec 04 '23 03:12 Songmu

Thank you for your response!

Applying multiple configuration files at different timings might be less common, but it would be appreciated if you could consider this possibility.

tomitamasa avatar Dec 04 '23 05:12 tomitamasa