-
Notifications
You must be signed in to change notification settings - Fork 75
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
Inventory #10
base: master
Are you sure you want to change the base?
Inventory #10
Conversation
This provides a dynamic inventory for IBM Cloud vpc instances to ansible users.
Any update? @svennam92 @Anil-CM ? |
@nibalizer we haven't forgot about this -- we're working on how we can support contributions like this as this repo is generated from the terraform provider. |
bd47d88
to
09c183e
Compare
@svennam92 Ok! I'm happy to maintain this in a repo that you can slurp in automatically if that makes it easier. |
@nibalizer last I spoke with the team, they said they have a mechanism for managing these "non-generated" assets, but let me ask @albee-jhoney to weigh in here. |
Getting dynamic inventories upstreamed will make life hella easier. |
Hi @nibalizer @jjasghar, This PR listing out the VPC vm instances using the python vpc-go-sdk. To avoid the python sdk dependency, we have come up with a module - |
While using the sdk for what could be done with an API call may be overkill on the dependencies, that's what's shown in the python documentation for the API at https://cloud.ibm.com/apidocs/vpc?code=python And given that this collection is essentially a wrapper for terraform, and terraform would have to have resources defined already to import state and do the same thing, why is the sdk dependency viewed as a worse solution than having to create and upkeep all the fake terraform (or the terraform dependency for that matter)? Ansible is python-based; why not make use of IBM's python sdk to bypass terraform? |
Is this already available when I make use of the collection
|
When can this be reviewed and merged? @Anil-CM |
This adds a dynamic inventory to the collection