Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pass null values in Terraform inputs #2663

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Pass null values in Terraform inputs #2663

merged 3 commits into from
Aug 14, 2023

Conversation

denis256
Copy link
Member

@denis256 denis256 commented Aug 11, 2023

Description

Included changes:

  • implemented passing of inputs with null values through .auto.tfvars.json which supports null values
  • added test to validate passing of null values

Fixes #892.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Updated the process of passing inputs to Terraform to support inputs with null values.

Migration Guide

N/A

@denis256 denis256 changed the title Pass null values for variables Pass null values in Terraform inputs Aug 11, 2023
@denis256 denis256 marked this pull request as ready for review August 11, 2023 20:23
@denis256 denis256 merged commit 40e0d4b into master Aug 14, 2023
@denis256 denis256 deleted the bug/null-values-892 branch August 14, 2023 21:31
RaphSku pushed a commit to RaphSku/terragrunt that referenced this pull request Aug 16, 2023
* Implemented saving of null values in separated json file

* Add test for passing null values

* Tests update
hugorut pushed a commit to infracost/terragrunt that referenced this pull request Oct 10, 2023
* Implemented saving of null values in separated json file

* Add test for passing null values

* Tests update
hugorut pushed a commit to infracost/terragrunt that referenced this pull request Oct 10, 2023
* Implemented saving of null values in separated json file

* Add test for passing null values

* Tests update
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not set variable to null in Terragrunt inputs
2 participants