generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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
Labels
No labels