vatesfr / terraform-provider-xenorchestra

Xen Orchestra provider for Terraform
MIT License
150 stars 32 forks source link

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

Closed userbradley closed 1 year ago

userbradley commented 3 years ago

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

Items to import would be:

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

ddelnano commented 3 years ago

I have an initial implementation of this with #138 and https://github.com/GoogleCloudPlatform/terraformer/pull/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 commented 3 years ago

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 commented 1 year ago

Awesome work!

Sorry it took so long to get back to this.