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've been writing some individual checks that would check the Ref or GeAtt of resource properties.
For example we would check the that a Ref for VpcId goes to a resource of AWS::EC2::VPC. If it was to a parameter we would check the parameter is of appropriate type (String, AWS::EC2::VPC::Id)
After writing a few of these I'm starting to see a lot of repeat and I'm wondering if this would be better defined in a JSON/YAML document. We can then write a singular rule to check these items limiting repeated code.
An example of that document is as follows.
I've been writing some individual checks that would check the Ref or GeAtt of resource properties.
For example we would check the that a Ref for VpcId goes to a resource of AWS::EC2::VPC. If it was to a parameter we would check the parameter is of appropriate type (String, AWS::EC2::VPC::Id)
After writing a few of these I'm starting to see a lot of repeat and I'm wondering if this would be better defined in a JSON/YAML document. We can then write a singular rule to check these items limiting repeated code.
An example of that document is as follows.
The text was updated successfully, but these errors were encountered: