c12s-kubespray/contrib
Cristian Klein fd3ebc13f7
Fix terraform0.13 errors (#7077)
* [terraform/aws] Fix Terraform >=0.13 warnings

Terraform >=0.13 gives the following warning:

```
Warning: Interpolation-only expressions are deprecated
```

The fix was tested as follows:
```
rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate
rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate
rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate
```
which gave no errors nor warnings.

* [terraform/openstack] Fixes for Terraform >=0.13

Terraform >=0.13 gives the following error:
```
Error: Failed to install providers
Could not find required providers, but found possible alternatives:
  hashicorp/openstack -> terraform-provider-openstack/openstack
```

This patch fixes these errors.

This fix was tested as follows:
```
rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate
rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate
rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate
```
which gave no errors nor warnings for Terraform 0.13.5 and Terraform
0.14.3. Unfortunately, 0.12.x gives a harmless warning, but
with 0.14.3 out the door, I guess we need to move on.

* [terraform/packet] Fixes for Terraform >=0.13

This fix was tested as follows:
```
export PACKET_AUTH_TOKEN=blah-blah
rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate
rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate
rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate
```

Errors are gone, but warnings still remain. It is impossible to please
all three versions of Terraform.

* Add tests for Terraform >=0.13
2020-12-23 05:08:26 -08:00
..
aws_iam Added Missing AWS IAM Profiles and Policies 2017-03-03 15:30:07 +01:00
aws_inventory fix: added boto3 as dependency required by kubespray-aws-inventory.py (#6890) 2020-11-26 15:06:19 -08:00
azurerm Improve markdownlint coverage (#7075) 2020-12-22 04:44:26 -08:00
dind Improve markdownlint coverage (#7075) 2020-12-22 04:44:26 -08:00
inventory_builder fix MASSIVE_SCALE_THRESHOLD env paramter (#7054) 2020-12-18 08:50:25 -08:00
kvm-setup Improve markdownlint coverage (#7075) 2020-12-22 04:44:26 -08:00
misc update rbac.authorization.k8s.io to non deprecated api-groups (#5517) 2020-04-14 13:14:04 -07:00
network-storage Improve markdownlint for contrib/network-storage (#7079) 2020-12-23 00:00:26 -08:00
packaging/rpm Fix ansible syntax to avoid ansible deprecation warnings (#3512) 2018-10-16 15:33:30 -07:00
terraform Fix terraform0.13 errors (#7077) 2020-12-23 05:08:26 -08:00
vault Improve markdownlint for contrib/network-storage (#7079) 2020-12-23 00:00:26 -08:00