Repository navigation
Replies: 1 comment
|
Almost the same way. The template.hasResourceProperties("AWS::S3::Bucket", {
Tags: [
{
Key: "foo",
Value: "bar",
},
],
});See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html You may use also |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How do you assert tags?
Error: Template has 1 resources with type AWS::S3::Bucket, but none match as expected.All reactions