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

Handle no readme bug #5

Merged
merged 7 commits into from
Jan 27, 2020
Merged

Handle no readme bug #5

merged 7 commits into from
Jan 27, 2020

Conversation

ksatirli
Copy link
Owner

@ksatirli ksatirli commented Jan 26, 2020

Hey @kibertoad - came across an interesting bug while building a module that uses this as the source:

When you opt to not have a README.md generated by Terraform, the output for that file isn't populated ( ... obviously 🤷‍♀), which in turn generates a breaking error and terminates an Execution.

With this fix (see outputs.tf) I use the try function to attempt get a value and default to null if nothing is available.

I've also moved the contents of locals.tf into variables.tf as per standard module structure and added an overview.png to make it clear which resources are added.

[EDIT] I've also updated the version references from 1.1.0 to 1.1.1 in preparation for the next tag.

@ksatirli ksatirli self-assigned this Jan 26, 2020
@ksatirli ksatirli merged commit 1e6d593 into master Jan 27, 2020
@ksatirli ksatirli deleted the handle-no-readme-bug branch January 27, 2020 09:20
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