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

Fix variable defaults #33

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Fix variable defaults #33

merged 1 commit into from
Sep 2, 2021

Conversation

saliceti
Copy link
Member

@saliceti saliceti commented Sep 2, 2021

What

Related to terraform issue: hashicorp/terraform#24142

We can't pass a null value to a module as it is passed explicitly
instead of using the default set inside of the module.

As a workaround we set empty string as default and set local variables
conditionally.

How to review

Try to use default values for grafana runtime, prometheus memory and disk

@saliceti saliceti added the DevOps label Sep 2, 2021
Related to terraform issue: hashicorp/terraform#24142

We can't pass a null value to a module as it is passed explicitly
instead of using the default set inside of the module.

As a workaround we set empty string as default and set local variables
conditionally.
@saliceti
Copy link
Member Author

saliceti commented Sep 2, 2021

@saliceti saliceti merged commit 23c21ac into master Sep 2, 2021
@saliceti saliceti deleted the grafana-runtime branch September 2, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants