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

Fixes validation of AWS::URLSuffix #174

Merged
merged 6 commits into from Jun 30, 2018
Merged

Conversation

nskoufis
Copy link
Contributor

@nskoufis nskoufis commented Jun 18, 2018

Fixes #173

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

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
@nskoufis nskoufis changed the title Fixes #173 Fixes validation of AWS::URLSuffix Jun 18, 2018
@martysweet
Copy link
Owner

Great thanks, can you cleanup the PR? Looks like lib/ was committed

@martysweet martysweet added this to the v1.7.3 milestone Jun 25, 2018
Accidentally included
@nskoufis
Copy link
Contributor Author

Done, sorry about that, anything else you'd like me to do?

@martysweet
Copy link
Owner

martysweet commented Jun 26, 2018

Thanks @nskoufis, can you also drop the package-lock.json, haven't got round to agreeing anything on that (and would belong in a separate PR).

If you are willing, a quick template test would also be great - they are pretty easy to do

This adds a very simple test that ensures that my minimum working broken
example now passes.
@martysweet
Copy link
Owner

Great stuff, thanks 🎉

@martysweet martysweet merged commit 0f6f1b5 into martysweet:master Jun 30, 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.

Failure to validate templates that use the AWS::URLSuffix psedo parameter
3 participants