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

Validate parameters when using Fn::Transform #3718

Open
1 of 2 tasks
maxdavidson91 opened this issue Sep 25, 2024 · 0 comments
Open
1 of 2 tasks

Validate parameters when using Fn::Transform #3718

maxdavidson91 opened this issue Sep 25, 2024 · 0 comments
Labels
new rule New rule

Comments

@maxdavidson91
Copy link

maxdavidson91 commented Sep 25, 2024

Is this feature request related to a new rule or cfn-lint capabilities?

New capability

Describe the feature you'd like to request

This PR #3501 stopped validation of all parameters when Transform is used.

Would it be possible to validate that parameters are at least present in local yaml files?

  Api:
    Type: AWS::Serverless::Api
    Properties:
      DefinitionBody:
        Fn::Transform:
          Name: AWS::Include
          Parameters:
            Location: swagger.yaml

Describe the solution you'd like

Validate that parameters are present in local DefinitionBody yaml files when Transform is used

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change
@kddejong kddejong added the new rule New rule label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new rule New rule
Projects
None yet
Development

No branches or pull requests

2 participants