Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W4001 doesnt warn #3595

Closed
whoDoneItAgain opened this issue Aug 13, 2024 · 1 comment · Fixed by #3596
Closed

W4001 doesnt warn #3595

whoDoneItAgain opened this issue Aug 13, 2024 · 1 comment · Fixed by #3596
Labels
bug Something isn't working

Comments

@whoDoneItAgain
Copy link
Contributor

CloudFormation Lint Version

v1.10.1

What operating system are you using?

windows

Describe the bug

Metadata AWS::CloudFormation::Interface parameters do not warn when a parameter does not exist. Confirmed it works in v0.87.10. I've noticed this bug in other v1.x releases too.

Expected behavior

warn when a interface metadata parameter exists but is not a parameter

Reproduction template

AWSTemplateFormatVersion: 2010-09-09

Metadata:
  AWS::CloudFormation::Interface:
    ParameterGroups:
      - Label:
          default: 'Vpc Parameters'
        Parameters:
          - Vpc

Parameters:
  # Vpc Parameters
  VpcId:
    Description: VPC To Create Stack In
    Type: String

Resources:
  Test:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: !Ref VpcId
@kddejong
Copy link
Contributor

ACKed. The code is there to do it but something is resulting in us not getting there. I'm digging in now.

@kddejong kddejong added the bug Something isn't working label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants