Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
Hi,
W4001 checks if all parameters referenced in tMetadata.AWS::CloudFormation::Interface exist. I was wondering if there is a check that does the opposite. Check if all parameters are listed in Metadata.AWS::CloudFormation::Interface.
Describe the solution you'd like
The following template should fail because SubnetId is not listed in the Metadata.AWS::CloudFormation::Interface:
AWSTemplateFormatVersion: 2010-09-09
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: 'Vpc Parameters'
Parameters:
- VpcId
Parameters:
# Vpc Parameters
VpcId:
Description: VPC To Create Stack In
Type: String
SubnetId:
Description: Subnet To Create Stack In
Type: String
Resources:
Test:
Type: AWS::S3::Bucket
Properties:
BucketName: !Ref VpcId
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
Hi,
W4001 checks if all parameters referenced in tMetadata.AWS::CloudFormation::Interface exist. I was wondering if there is a check that does the opposite. Check if all parameters are listed in Metadata.AWS::CloudFormation::Interface.
Describe the solution you'd like
The following template should fail because
SubnetIdis not listed in the Metadata.AWS::CloudFormation::Interface:Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?