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

Output values are strict and must be a string #3013

Open
2 tasks done
kddejong opened this issue Jan 17, 2024 · 0 comments
Open
2 tasks done

Output values are strict and must be a string #3013

kddejong opened this issue Jan 17, 2024 · 0 comments
Labels
v1 v1.X

Comments

@kddejong
Copy link
Contributor

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

rules

Describe the feature you'd like to request

When validating Output values they must be strict. Meaning they have to be a string and boolean values won't work.

Describe the solution you'd like

A rule that better validates the Output value.

Additional context

Error: Template format error: Every Value member must be a string. Rollback requested by user.

Template

Resources:
  Vpc:
    Type: AWS::EC2::VPC
    Properties:
      CidrBlock: 10.0.0.0/16
      Tags:
        - Key: Name
          Value: Test
Outputs:
  Vpc:
    Value: !GetAtt Vpc.EnableDnsHostnames

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 v1 v1.X label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 v1.X
Projects
None yet
Development

No branches or pull requests

1 participant