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

removing unnecessary regional resource specification patching #1672

Merged
merged 3 commits into from
Aug 31, 2020
Merged

Conversation

PatMyron
Copy link
Contributor

@PatMyron PatMyron commented Aug 29, 2020

similar to #1553

relevant Resource Specifications for 01_spec_patch.json removals:
ap-northeast-3
ap-southeast-1
ap-south-1
ap-southeast-2 (only remaining manual regional patches from #706), wondering if there are problems with this format:

https://github.com/aws-cloudformation/cfn-python-lint/blob/81f0e3f845ff59b3cf6cc104f80ff71eec6a2164/scripts/update_specs_services_from_ssm.py#L85


Even though they are not in those Resource Specifications, I believe the AWS::Cognito::UserPoolUser.AttributeType patches can also be removed because AWS::Cognito::UserPoolUser is not present in those regions either (not even in the patches automatically generated from SSM): (context: #1002, #1003)

AWS::Cognito::UserPoolUser.AttributeType is also in the us-east-1 Resource Specification, so it should get picked up if AWS::Cognito::UserPoolUser gets picked up anyway


grep -h 'path' src/cfnlint/data/ExtendedSpecs/*-*/03* | uniq -c
     19     "path": "/ValueTypes/ConfigResourceType", # only type removed from *-*/03_value_types.json

Regional ConfigResourceType AllowedValues added here were switched away from being regionally maintained here:

https://github.com/aws-cloudformation/cfn-python-lint/blob/de078a9274e13b0b44a6e730ff11a3def717080f/src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_config.json#L4

@codecov

This comment has been minimized.

@PatMyron PatMyron force-pushed the patches branch 3 times, most recently from 4404b23 to 49f73c0 Compare August 29, 2020 23:00
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