Closed AndreasAugustin closed 1 year ago
Remark: The same is true for ResourceType: TransitgatewayAttachement
Unable to reproduce cfn-lint
throwing for either TransitGateway
or TransitGatewayAttachment
with the current version with or without TrafficType
CloudFormation Lint Version
cfn-lint 0.71.0
What operating system are you using?
Mac
Describe the bug
Hi dear AWS cfn-lint team,
thanks for the nice linter.
With the checks for AWS::EC2::FlowLogs it seems that there is an issue when the ResourceType is set to TransitGateway.
Related to docs it states
^flow-logs-traffic-type
With that setting the TrafficType property must not be added to the template but is checked in the cfn-linter.
Expected behavior
When the ResourceType: TransitGateway property is set, the expected behaviour is that you get an error if TrafficType is set and not like currently if it is not set.
Reproduction template
does not throw but
throws. This behavior must be switched.
Update: The same is true for ResourceType: TransitgatewayAttachement