kubespray/contrib/terraform/openstack/modules/compute
Christian Rohmann 90883e76af
terrform/openstack: Fix templating of ansible_ssh_common_args in no_floating.yml if used as TF module (#8646)
* terraform/openstack: Use path.module for ansible_bastion_template.txt

This extends on #7643 by not using path.root, but switching to path.module
to allow use of the terraform code as a module itself. This change then keeps
all calls to the template file stable even for that use-case.

* terraform/openstack: Make sed calls fail on errors

By using a single call with two replacements to use of sed will create proper exit codes
and allowing for errors to be recognized by terraform.
2022-03-29 00:07:11 -07:00
..
templates contrib: add cloud-init support for terraform vms (#8394) 2022-01-11 05:23:16 -08:00
ansible_bastion_template.txt terrform/openstack: Fix templating of ansible_ssh_common_args in no_floating.yml if used as TF module (#8646) 2022-03-29 00:07:11 -07:00
main.tf terrform/openstack: Fix templating of ansible_ssh_common_args in no_floating.yml if used as TF module (#8646) 2022-03-29 00:07:11 -07:00
variables.tf [terraform][openstack] allow disabling port_security at port level (#8455) 2022-02-02 08:50:22 -08:00
versions.tf Fix terraform0.13 errors (#7077) 2020-12-23 05:08:26 -08:00