Skip to content

Commit

Permalink
Add subnet/IG tag conditionals #32
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Apr 27, 2021
1 parent f1aca9f commit 4b9af33
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions iamlivecore/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -18452,6 +18452,13 @@
"template": "*"
}
}
},
{
"action": "ec2:CreateTags",
"resource_mappings": {},
"resourcearn_mappings": {
"vpc": "%%iftruthy%${TagSpecifications[].ResourceType}%arn:${Partition}:ec2:${Region}:${Account}:internet-gateway/*%%%"
}
}
],
"EC2.CreateKeyPair": [
Expand Down Expand Up @@ -18784,6 +18791,13 @@
"template": "${VpcId}"
}
}
},
{
"action": "ec2:CreateTags",
"resource_mappings": {},
"resourcearn_mappings": {
"vpc": "%%iftruthy%${TagSpecifications[].ResourceType}%arn:${Partition}:ec2:${Region}:${Account}:subnet/*%%%"
}
}
],
"EC2.CreateTags": [
Expand Down

0 comments on commit 4b9af33

Please sign in to comment.