mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-27 05:43:09 +00:00
* Revert "Allow complex values in variables parameter of terraform module (#4281)" (#4368) This reverts commit4cc7f41395. (cherry picked from commit9618fb9786) * Add changelog fragment.
This commit is contained in:
3
changelogs/fragments/4368-reverts-4281.yml
Normal file
3
changelogs/fragments/4368-reverts-4281.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- "terraform - revert bugfix https://github.com/ansible-collections/community.general/pull/4281 that tried to fix ``variable`` handling to allow complex values.
|
||||
It turned out that this was breaking several valid use-cases (https://github.com/ansible-collections/community.general/issues/4367, https://github.com/ansible-collections/community.general/pull/4370)."
|
||||
@@ -443,7 +443,7 @@ def main():
|
||||
for k, v in variables.items():
|
||||
variables_args.extend([
|
||||
'-var',
|
||||
'{0}={1}'.format(k, json.dumps(v))
|
||||
'{0}={1}'.format(k, v)
|
||||
])
|
||||
if variables_files:
|
||||
for f in variables_files:
|
||||
|
||||
Reference in New Issue
Block a user