mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
579fdbbc1c
commit
093b83c34f
2 changed files with 4 additions and 1 deletions
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:
|
||||
|
|
Loading…
Reference in a new issue