Skip to content
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

Add functionality to substitute/map values in alarms.yaml #69

Open
tarunmenon95 opened this issue Jun 7, 2022 · 0 comments
Open

Add functionality to substitute/map values in alarms.yaml #69

tarunmenon95 opened this issue Jun 7, 2022 · 0 comments
Labels
cfn-guardian enhancement New feature or request

Comments

@tarunmenon95
Copy link
Contributor

Issue:
Add the ability for users to substitute values when defining parameters in the alarms.yaml.

Example:
In the following example. Custom tags are created which ideally would map to the corresponding Cluster & Service defined in the resources section. This perhaps could be done via a substitution or Ref.

Topics:
  EcsCycle: arn:aws:sns:ap-southeast-2:123456789123:guardian-ecs-service-cycle

Templates:
  ECSService:
    GroupOverrides:
      AlarmAction:
        - EcsCycle
      Tags:
        ecscycle:service: **MAPPED VALUE HERE**
        ecscycle:cluster:  **MAPPED VALUE HERE**

Resources:
    ECSService:
      - Cluster: asdf123-ecsec2-123456789-EcsCluster-asdf1234
         Id: adsf123-ecsservice-123456789-Service-asdf1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cfn-guardian enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant