4 ms·
1) CreateTags does support scoping using StringEquals with ec2:SourceInstanceARN and comparing that with the aws:arn "aws:ARN": "${ec2:SourceInstanceARN}" I
by klohto 5y ago
1) CreateTags does support scoping using StringEquals with ec2:SourceInstanceARN and comparing that with the aws:arn
"aws:ARN": "${ec2:SourceInstanceARN}"
It will give you a warning when creating through web console, but the condition works.
- jen20 5y agoTIL - thanks for the heads up. Is this a documented substitution?
- klohto 5y agoI don't think so... I have been trying to find it for a few years now, but it just won't turn up anywhere. FYI, I personally use resource tags as well on top this, just to limit the scope (in case it magically disappears one day).