ionos-cloud / terraform-provider-profitbricks

Terraform ProfitBricks provider
https://www.terraform.io/docs/providers/profitbricks/
Mozilla Public License 2.0
3 stars 16 forks source link

resource profitbricks_ipfailover doesn't support import #62

Open ravibhure opened 4 years ago

ravibhure commented 4 years ago

Hi there,

I am trying to import profitbricks_ipfailover resource but it fails.

Terraform Version

Terraform v0.11.14 + provider.profitbricks v1.4.4

Affected Resource(s)

Expected Behavior

Import the profitbricks_ipfailover resource to state file

Actual Behavior

Error: profitbricks_ipfailover.lb_ip (import id: 9122dcf3-33e7-440d-8bef-69246b99da8a/b8eeb0dc-a0ed-48cc-998a-33670f47b2a9): import profitbricks_ipfailover.lb_ip (id: 9122dcf3-33e7-440d-8bef-69246b99da8a/b8eeb0dc-a0ed-48cc-998a-33670f47b2a9): resource profitbricks_ipfailover doesn't support import

Steps to Reproduce

  1. terraform import profitbricks_ipfailover.webserver {datacenter uuid}/{nic uuid}
benschmi commented 4 years ago

Hi @ravibhure,

the error message is correct: import for ipfailover is not supported.

ravibhure commented 4 years ago

Thank you @benschmi , are there any future plans to available import on ipfailover ? because of #63, we setup ip-failover manually using dcd so to updated the local terraform state we tried import.

benschmi commented 4 years ago

Currently there are no plans. The update to support Terraform v0.12 has higher priority and requires quite some effort.

jbuchhammer commented 3 years ago

Meanwhile Terraform v0.12 is supported and ipfailover configuration is more flexible (see #63). Is import still needed or can you close the issue?