-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
awx.awx collection: support for 'Terraform State' inventory source #15252
Comments
Reasonable request, my guess is it would take some work in https://github.com/ansible/awx/blob/devel/awx_collection/plugins/modules/inventory_source.py. If someone has time, feel free to take a crack, might be a bit before we can get to it though @vvarga007 but very doable/in scope I think. |
@thedoubl3j I took a quick look at this. To create a terraform state inventory source, the only thing that we have to do is to add 'terraform' as a valid choice.( https://github.com/ansible/awx/blob/devel/awx_collection/plugins/modules/inventory_source.py)
After this change, I was able to create an inventory source with the following task:
|
I checked the TF backend credential, too. It seems that works out of the box.
|
@thedoubl3j I created a PR for this. Please take a look. |
Please confirm the following
Feature type
Enhancement to Existing Feature
Feature Summary
AWX 24.0.0 introduced a terraform state inventory source.
It would be great to create this inventory source with the 'awx.awx' ansible collection, which is currently not supported.
It is the same with the 'Terraform backend configuration' credential type.
Select the relevant components
Steps to reproduce
N/A
Current results
N/A
Sugested feature result
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: