Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Add support for AWS::Partition pseudo parameter #179

Merged
merged 10 commits into from
Jul 18, 2018

Conversation

nskoufis
Copy link
Contributor

@nskoufis nskoufis commented Jul 2, 2018

This closes #178, tests included.

Please let me know if there's anything more you want me to add.

nskoufis and others added 9 commits June 18, 2018 11:48
This adds the AWS::URLSuffix to the reference value overrides reference
data, as well as to the type used for this value in code.

This is a perfectly valid pseudo parameter (as per
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-urlsuffix)
but was causing an error at
https://github.com/nskoufis/cfn-lint/blob/master/src/validator.ts#L680
Adding build artifacts so we can use them directly.
Accidentally included
This adds a very simple test that ensures that my minimum working broken
example now passes.
This is a valid pseudo parameter as documented here:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-partition

This adds support for it, because at the moment it causes critical
validation failures. Tests to follow.
This adds a simple test that ensures that the AWS::Partition pseudo
parameter is correctly handled and parsed as valid.
@nskoufis nskoufis changed the title Closes #178 Add support for AWS::Partition pseudo parameter Jul 2, 2018
@martysweet martysweet added this to the v1.7.4 milestone Jul 5, 2018
@martysweet
Copy link
Owner

@nskoufis Thanks for your work on this!

@martysweet martysweet merged commit 1567397 into martysweet:master Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS::Partition pseudo parmeter causes critical lint error
3 participants