1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/cloud
patchback[bot] 5b029c66c5
Terraform init -upgrade flag (#4455) (#4502)
* Adds optional `-upgrade` flag to terraform init.

This allows Terraform to install provider dependencies into an existing project when the provider constraints change.

* fix transposed documentation keys

* Add integration tests for terraform init

* Revert to validate_certs: yes for general public testing

* skip integration tests on irrelevant platforms

* skip legacy Python versions from CI tests

* add changelog fragment

* Update plugins/modules/cloud/misc/terraform.py

Adds version_added metadata to the new module option.

Co-authored-by: Felix Fontein <felix@fontein.de>

* Change terraform_arch constant to Ansible fact mapping

* correct var typo, clarify task purpose

* Squashed some logic bugs, added override for local Terraform

If `existing_terraform_path` is provided, the playbook will not download Terraform or check its version.

I also tested this on a local system with Terraform installed, and squashed some bugs related to using of an
existing binary.

* revert to previous test behavior for TF install

* readability cleanup

* Update plugins/modules/cloud/misc/terraform.py

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit e4a25beedc)

Co-authored-by: Kamil Markowicz <geekifier@users.noreply.github.com>
2022-04-13 19:22:08 +02:00
..
alicloud added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
atomic Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
centurylink Fix sanity issues. (#4346) (#4357) 2022-03-14 21:30:29 +01:00
dimensiondata Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
heroku mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
huawei Fix sanity issues. (#4346) (#4357) 2022-03-14 21:30:29 +01:00
linode mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
lxc lxc_container - invoke run_command passing list (#3851) (#3886) 2021-12-10 06:43:19 +01:00
lxd Adding while loop to wait for cluster container creation (#4039) (#4095) 2022-01-28 07:38:10 +01:00
memset added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
misc Terraform init -upgrade flag (#4455) (#4502) 2022-04-13 19:22:08 +02:00
oneandone mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
online update scaleway maintainers (#3472) (#3873) 2021-12-08 20:20:59 +01:00
opennebula one_vm: add release action (#4036) (#4077) 2022-01-24 21:00:19 +01:00
oracle mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
ovh mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
packet Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
profitbricks mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
pubnub mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
rackspace Fix sanity issues. (#4346) (#4357) 2022-03-14 21:30:29 +01:00
scaleway Add scaleway_private_network module (#4042) (#4197) 2022-02-14 18:27:07 +01:00
smartos added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
softlayer Adjust example to remove unnecessary offensive language. (#2869) 2021-06-24 22:57:40 +02:00
spotinst mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
univention udm_dns_record: Fix handling of PTR records (#3244) (#3256) 2021-08-30 06:53:30 +02:00
webfaction Tidy up sanity checks (2021/Batch 3 - who's counting) (#1885) 2021-02-26 11:37:23 +01:00
xenserver xenserver_guest - fixed validations (#2243) 2021-04-17 09:32:13 +02:00