mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
[stable-11] terraform: Fix bug when None values aren't processed correctly (#10961) (#11003) terraform: Fix bug when None values aren't processed correctly (#10961) * terraform: Fix bug when None values aren't processed correctly Just found that i can't pass null values as complex variables into terraform using this module, while i can do that with terraform itself. Fixed undesired behavior. * chore: changelog fragment 10961-terraform-complexvars-null-bugfix.yaml * Update changelogs/fragments/10961-terraform-complexvars-null-bugfix.yaml * Update plugins/modules/terraform.py * Update plugins/modules/terraform.py * Fix condition to check for None type in terraform.py --------- (cherry picked from commitaf8c4fb95e) (cherry picked from commit9cb619ff6c) Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: nbragin4 <139489942+nbragin4@users.noreply.github.com>