Examples about tags
AWS
Ensure all resources have tags
Scenario: Ensure all resources have tags
Given I have resource that supports tags defined
Then it must contain tags
And its value must not be null
Ensure all resources have the whitelist tag
Scenario: Ensure all resources have the whitelist tag
Given I have resource that supports tags defined
Then it must contain tags
And its value must contain whitelist
Ensure that specific tags are defined
Scenario Outline: Ensure that specific tags are defined
Given I have resource that supports tags defined
When it contains tags
Then it must contain <tags>
And its value must match the "<value>" regex
Examples:
| tags | value |
| Name | .+ |
| application | .+ |
| role | .+ |
| environment | ^(prod\|uat\|dev)$ |