You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write a test that says when resources start with the address module.project1, they must have the tag project: project1
Ive tried quite a few different variations of this and it always returns SKIPPING: Could not find "module.project1.*" in "address" metadata.
Ive googled and searched past issues pretty extensively and haven't had any luck finding a solution. Sorry for having to ask this.
Feature: Ensure qtso tags are present
@case-sensitive
Scenario Outline: Ensure that specific tags are defined
Given I have resource that supports tags defined
When its address metadata is "module.project1.*" regex
Then it must contain "<tags>"
And its value must match the "<value>" regex
Examples:
| tags | value |
| project | project1 |
The text was updated successfully, but these errors were encountered:
This is definitely a required feature as it will also allow to write conditional tests based on the provider version. (e.g. the current case in AWS provider)
Question:
I am trying to write a test that says
when resources start with the address module.project1, they must have the tag project: project1
Ive tried quite a few different variations of this and it always returns
SKIPPING: Could not find "module.project1.*" in "address" metadata.
Ive googled and searched past issues pretty extensively and haven't had any luck finding a solution. Sorry for having to ask this.
The text was updated successfully, but these errors were encountered: