From a7113549ebf005813f35a368d02d4559ea6487bd Mon Sep 17 00:00:00 2001 From: Viktor Varga <59172780+vvarga007@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:22:21 -0400 Subject: [PATCH] Add 'Terraform State' inventory source support for collection (#15258) --- awx_collection/plugins/modules/inventory_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx_collection/plugins/modules/inventory_source.py b/awx_collection/plugins/modules/inventory_source.py index 5f6c1781b6..216ebce3d8 100644 --- a/awx_collection/plugins/modules/inventory_source.py +++ b/awx_collection/plugins/modules/inventory_source.py @@ -42,7 +42,7 @@ options: source: description: - The source to use for this group. - choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights" ] + choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights", "terraform" ] type: str source_path: description: @@ -170,7 +170,7 @@ def main(): # # How do we handle manual and file? The controller does not seem to be able to activate them # - source=dict(choices=["scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights"]), + source=dict(choices=["scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights", "terraform"]), source_path=dict(), source_vars=dict(type='dict'), enabled_var=dict(),