1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-03 18:56:55 +00:00
community.general/plugins
Felix Fontein 9cb619ff6c
[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 commit af8c4fb95e)

Co-authored-by: nbragin4 <139489942+nbragin4@users.noreply.github.com>
2025-10-28 20:53:57 +01:00
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
cache [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
callback [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
connection [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
doc_fragments [PR #10874/750adb43 backport][stable-11] pipx: adjustments for pipx 1.8.0 (#10876) 2025-10-05 07:23:57 +02:00
filter [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
inventory [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
lookup [PR #10891/5f471b8e backport][stable-11] refactor dict from literal list (#10895) 2025-10-10 19:15:49 +02:00
module_utils [PR #10933/c850e209 backport][stable-11] Add support for client auth in Keycloak cllient secrets module (#10946) 2025-10-19 21:22:44 +02:00
modules [stable-11] terraform: Fix bug when None values aren't processed correctly (#10961) (#11003) 2025-10-28 20:53:57 +01:00
plugin_utils [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
test [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00