stelligent / cfn_nag

Linting tool for CloudFormation templates
MIT License
1.25k stars 209 forks source link

Add support for Fn::Transform within resources #616

Open pbudzon opened 1 year ago

pbudzon commented 1 year ago

Using Fn::Transform as part of Resources section of the template, like below:

Resources:
    ResourceOne:
        Type: ...
        Properties: ....

    Fn::Transform:
        Name: AWS::Include
        Parameters:
            Location: somefile.yaml

throws a fatal error:

| FAIL FATAL
|
| Illegal cfn - missing Type: id: Fn::Transform

while being a completely valid and working template.