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
When using "aws_cloudwatch_event_target" block with "ecs_target" block. an check to make sure if tags are present fails
When adding tags to the "ecs_target" block
Passes terraform plan
Fails compliance
When adding tags to "aws_cloudwatch_event_target" and "ecs_target" block check
Fails terraform plan as "aws_cloudwatch_event_target" does not support tags
To Reproduce
Feature File:
Feature: Tagging Enforcement
In order to keep track of resource ownership
As engineers
We'll enforce tagging on all resources
Scenario: Ensure all resources have tagsGiven I have resource that supports tags defined
Then it must contain tags
And its value must not be null
I'm also encountering this issue - the resource is definitely tagged but compliance is flagging an error - having to allow_failure on this job in my CI pipelines really dilutes the effectiveness of the tool..
Description
When using "aws_cloudwatch_event_target" block with "ecs_target" block. an check to make sure if tags are present fails
When adding tags to the "ecs_target" block
Passes terraform plan
Fails compliance
When adding tags to "aws_cloudwatch_event_target" and "ecs_target" block check
Fails terraform plan as "aws_cloudwatch_event_target" does not support tags
To Reproduce
Feature File:
Plan File:
Sample Terraform Code:
Used
terraform-compliance
Parameters:--no-ansi --early-exit --silent
Tested Versions:
v1.3.32
Terraform v0.14.4 provider aws v4.12.1
3.8.0
The text was updated successfully, but these errors were encountered: