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

Move VPC Tenancy check to AllowedValues #540

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

fatbasstard
Copy link
Contributor

Issue #50, if available:

Moved over the VPC Tenancy value check to the generic Allowed Values setup. Along the way:

  • Corrected/improved Custom Resource check
  • Moved the Ref check into the ValueRefGetAtt (E3008) rule
  • Added move test values in the "bad" template

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-io
Copy link

Codecov Report

Merging #540 into master will increase coverage by 0.09%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #540      +/-   ##
==========================================
+ Coverage   84.44%   84.54%   +0.09%     
==========================================
  Files         110      110              
  Lines        5946     5925      -21     
  Branches     1346     1342       -4     
==========================================
- Hits         5021     5009      -12     
+ Misses        609      604       -5     
+ Partials      316      312       -4
Impacted Files Coverage Δ
src/cfnlint/rules/resources/ectwo/Vpc.py 76.31% <33.33%> (+5.12%) ⬆️
...cfnlint/rules/resources/properties/AllowedValue.py 97.01% <0%> (+1.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 419867d...ac4fb9e. Read the comment docs.

@kddejong kddejong merged commit 6ac5a68 into aws-cloudformation:master Jan 2, 2019
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.

None yet

3 participants