Skip to content

Multiple ec2_tag_sets? #49

@aw-huit

Description

@aw-huit

Describe the Feature

Is there a way to create multiple ec2_tag_sets, replicating the below?

ec2_tag_set {
    ec2_tag_filter {
      key   = "env"
      type  = "KEY_AND_VALUE"
      value = "dev"
    }

    ec2_tag_filter {
      key   = "product"
      type  = "KEY_AND_VALUE"
      value = "myProduct"
    }
  }

  ec2_tag_set {
    ec2_tag_filter {
      key   = "id"
      type  = "KEY_AND_VALUE"
      value = "0000"
    }
  }

My variable declaration:

ec2_tag_set = [{
    ec2_tag_filter = [{
            key = "product"
            value = "myProduct"
            type  = "KEY_AND_VALUE"

        },
        {
            key="id"
            value="0000"
            type = "KEY_AND_VALUE"
        }
    ],
 ec2_tag_filter = [
    {
            key = "environment"
            value = "dev"
            type  = "KEY_AND_VALUE"

        }
    ],

}]

Expected Behavior

Multiple tag groups are created.

Use Case

to be able to have multiple tag groups similar to how it can be set in the console.

Describe Ideal Solution

not sure.

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions