Open RavinderReddyF5 opened 4 years ago
Comment by dannyk81 Tuesday Jun 25, 2019 at 21:53 GMT
All resources can be imported, they all implement the import function which in most cases is a simple pass-through to the read function.
I personally used the provider to import: virtual servers, pools, pool attachments (for which I implemented the import), nodes, snat pools and others.
Have you tried to import? have you encountered a specific issue?
Comment by DarthVader2409 Wednesday Jun 26, 2019 at 14:57 GMT
Ah, I see. Thank you. I am new to terraform, I was going through the website and read that for those resources that support import, they are documented at the bottom of each resource documentation page, under the Import heading. https://www.terraform.io/docs/providers/bigip/r/bigip_ltm_pool_attachment.html But I didn't find any information about import in there.
Comment by dannyk81 Wednesday Jun 26, 2019 at 16:15 GMT
Docs for this provider are not in the best of shapes, but the functionality is there.
I had a PR that was merged for the pool attachment import doc https://github.com/terraform-providers/terraform-provider-bigip/pull/88, not sure why it's not there on the website :man_shrugging:
Comment by DarthVader2409 Monday Aug 19, 2019 at 20:08 GMT
@dannyk81 Hi Danny! Would you be able to help me with this- https://discuss.hashicorp.com/t/help-template-tf-and-user-data-yaml-tpl-flexible-assignment-of-variable/2444
Issue by DarthVader2409 Tuesday Jun 25, 2019 at 21:14 GMT Originally opened as https://github.com/terraform-providers/terraform-provider-bigip/issues/120
I understand that terraform can import one resource at a time and each resource in terraform must implement some basic logic to become importable. Currently, I don't see a way to import BIGIP resources like a ltm monitor or node.