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

Fixed boolean for property "Blackhole" #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

c-a-m-a-c
Copy link

Description of changes:

  1. Fixed booleans in route table changes.

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

@perrwald
Copy link
Contributor

perrwald commented Dec 5, 2019

either works. yes/no or true/false. Is there a reason you prefer true? I just got used to saying 'yes' as it was an option i wanted.

@c-a-m-a-c
Copy link
Author

Sorry, my bad then. It did not work when I applied it and threw errors (didn't document those, would need to do it again). My interpretation of these error messages where there's a problem with yes/no. And after I changed this the thing ran flawlessly. That's why I tried to contribute with this fix - but I'm certainly no expert here.
If yes/no works I wonder what the problem is. When I find some time I'll try again and maybe you can help me with the error?

@perrwald
Copy link
Contributor

perrwald commented Dec 9, 2019

no problem at all. i'd be really interested in what the errors were. I've just been working with a template that has about 15 boolean options in it, and i've used yes or no throughout without an issue. What region were you in? If there is a way to duplicate the issue, that would be awesome...always happy to improve my hacked code :-)

And thanks for commenting. Whether or not there is a gotcha, its nice to see the blog and code being looked at.

@c-a-m-a-c
Copy link
Author

Ok, just had a look at the stack events in CloudFormation, here's what it reads (Timestamp, Logical ID, Status, Status reason):

  • 2019-10-30 16:39:51 UTC+0100 AppBlackhole172Route CREATE_FAILED Property validation failure: [Value of property {/Blackhole} does not match type {Boolean}]
  • 2019-10-30 16:39:51 UTC+0100 AppBlackhole10Route CREATE_FAILED Property validation failure: [Value of property {/Blackhole} does not match type {Boolean}]

After this a few depending resources fail to create and eventually the stack does a rollback.

I tested this in eu-west-1 (Ireland), three times. Hope that helps?

@perrwald
Copy link
Contributor

perrwald commented Dec 11, 2019 via email

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