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
Kamil Markowicz e4a25beedc
Terraform init -upgrade flag (#4455)
* 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>
2022-04-13 11:16:54 +00: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) 2022-03-14 20:56:27 +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) 2022-03-14 20:56:27 +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) 2021-12-09 22:02:43 +01:00
lxd Adding while loop to wait for cluster container creation (#4039) 2022-01-28 07:08:52 +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) 2022-04-13 11:16:54 +00:00
oneandone mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
online update scaleway maintainers (#3472) 2021-12-08 18:32:26 +01:00
opennebula one_vm: add release action (#4036) 2022-01-24 19:52:32 +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) 2022-03-14 20:56:27 +01:00
scaleway Add scaleway_private_network module (#4042) 2022-02-14 18:13:55 +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