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

Documented Maximums and Minimums of Integer Properties #1110

Merged
merged 28 commits into from
Sep 1, 2019
Merged

Documented Maximums and Minimums of Integer Properties #1110

merged 28 commits into from
Sep 1, 2019

Conversation

PatMyron
Copy link
Contributor

@PatMyron PatMyron commented Aug 26, 2019

Using this PR as a reference: #1109

assuming regional src/cfnlint/data/CloudSpecs/ are autogenerated and wondering if 04_property_values is redundant

"type: integer" "maximum" site:https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource
"type: integer" "minimum" site:https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource
"type: integer" "less than" site:https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource
"type: integer" "more than" site:https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource

Some of these could be automatically sourced from botocore as well: terraform-linters/tflint#274

@codecov

This comment has been minimized.

PatMyron and others added 7 commits August 26, 2019 00:09
@PatMyron PatMyron changed the title WIP: Documented Maximums and Minimums of Integer Properties Documented Maximums and Minimums of Integer Properties Aug 27, 2019
@kddejong kddejong merged commit 6cce922 into aws-cloudformation:master Sep 1, 2019
@PatMyron
Copy link
Contributor Author

PatMyron commented Mar 5, 2020

I'm assuming the regional files are autogenerated and I'm wondering if 04_property_values is redundant

Circling back on this PR, 04_property_values changes are necessary prerequisites as well and the regional src/cfnlint/data/CloudSpecs/ changes are generated by:

cfn-python-lint $ pip3 install -e . --user
cfn-python-lint $ cfn-lint --update-specs

as described in more detail here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants