terraform-aws-eventbridge icon indicating copy to clipboard operation
terraform-aws-eventbridge copied to clipboard

feat: Add support for multi targets

Open Arielgordon123 opened this issue 3 months ago β€’ 0 comments

Description

Add support for multi target run_command_targets

Motivation and Context

closes #113

Breaking Changes

Before this change:

        run_command_targets = {
            key    = "InstanceIds"
            values = ["i-123456"]
          }

after this change:

        run_command_targets = [
          {
            key    = "tag:Name"
            values = ["FooBar"]
          },
          {
            key    = "InstanceIds"
            values = ["i-123456"]
          }
        ]


How Has This Been Tested?

  • [x] I have updated at least one of the examples/* to demonstrate and validate my change(s)

  • [x] I have tested and validated these changes using one or more of the provided examples/* projects

  • [x] I have executed pre-commit run -a on my pull request

Arielgordon123 avatar Mar 21 '24 07:03 Arielgordon123