diff options
author | Akira Yokochi <akira6592@gmail.com> | 2024-06-02 04:36:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 04:36:30 +0200 |
commit | 7845ec7e01ee00c46df1222b9a7e03d5e743ecfc (patch) | |
tree | d1fca033c185565bb2642287deb905f777dc816f /docs | |
parent | Add requirements comment (diff) | |
download | awx-7845ec7e01ee00c46df1222b9a7e03d5e743ecfc.tar.xz awx-7845ec7e01ee00c46df1222b9a7e03d5e743ecfc.zip |
Modify the link to terraform_state inventory plugin (#15241)
fix link to terraform_state inventory plugin
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/userguide/inventories.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docsite/rst/userguide/inventories.rst b/docs/docsite/rst/userguide/inventories.rst index 9a2cfb1a78..e2b17bdf73 100644 --- a/docs/docsite/rst/userguide/inventories.rst +++ b/docs/docsite/rst/userguide/inventories.rst @@ -1096,7 +1096,7 @@ Terraform State pair: inventory source; Terraform state -This inventory source uses the `terraform_state <https://github.com/ansible-collections/cloud.terraform/blob/main/plugins/inventory/terraform_state.py>`_ inventory plugin from the `cloud.terraform <https://github.com/ansible-collections/cloud.terraform>`_ collection. The plugin will parse a terraform state file and add hosts for AWS EC2, GCE, and Azure instances. +This inventory source uses the `terraform_state <https://github.com/ansible-collections/cloud.terraform/blob/main/docs/cloud.terraform.terraform_state_inventory.rst>`_ inventory plugin from the `cloud.terraform <https://github.com/ansible-collections/cloud.terraform>`_ collection. The plugin will parse a terraform state file and add hosts for AWS EC2, GCE, and Azure instances. 1. To configure this type of sourced inventory, select **Terraform State** from the Source field. @@ -1104,7 +1104,7 @@ This inventory source uses the `terraform_state <https://github.com/ansible-coll 3. You can optionally specify the verbosity, host filter, enabled variable/value, and update options as described in the main procedure for :ref:`adding a source <ug_add_inv_common_fields>`. For Terraform, enable **Overwrite** and **Update on launch** options. -4. Use the **Source Variables** field to override variables used by the ``controller`` inventory plugin. Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two. For more information on these variables, see the `terraform_state <https://github.com/ansible-collections/cloud.terraform/blob/main/plugins/inventory/terraform_state.py>`_ file for detail. +4. Use the **Source Variables** field to override variables used by the ``controller`` inventory plugin. Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two. For more information on these variables, see the `terraform_state <https://github.com/ansible-collections/cloud.terraform/blob/main/docs/cloud.terraform.terraform_state_inventory.rst>`_ file for detail. The ``backend_type`` variable is required by the Terraform state inventory plugin. This should match the remote backend configured in the Terraform backend credential, here is an example for an Amazon S3 backend: |