Skip to content
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

Add support for generating terraform files from existing infrastructure (terraformer support, reverse terraform) #96

Closed
userbradley opened this issue Nov 28, 2020 · 3 comments

Comments

@userbradley
Copy link

This is a continuation of this issue to have a terraform import.

Items to import would be:

  • VM's
  • networks
    -SR's
    -Disks

These seem to be the most used items that I would want to manage through IaC

@ddelnano ddelnano changed the title Terraform import Add support for generating terraform files from existing infrastructure (terraformer support, reverse terraform) Nov 29, 2020
@ddelnano
Copy link
Collaborator

ddelnano commented Apr 1, 2021

I have an initial implementation of this with #138 and GoogleCloudPlatform/terraformer#846. Initially, this will only support the xenorchestra_acl and xenorchestra_resource_set resources.

The resources you mentioned are definitely important to support but have the following problems at the moment:

While the resources you named won't be included in the initial support, getting the project working with terraformer with a few resources is a good first step.

@ddelnano
Copy link
Collaborator

ddelnano commented Apr 6, 2021

Binaries are now available on the terraformer project as of 0.8.12. I'll write up some instructions on how to use this and then I think the initial support can be considered complete.

I'll likely track the future improvements for the VM, network, sr and disk resources in a new issue.

@userbradley
Copy link
Author

Awesome work!

Sorry it took so long to get back to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants