opentelekomcloud / terraform-otc

Terraform integration modules for Open Telekom Cloud
22 stars 19 forks source link

Cannot import existing subnet with ID displayed on console #17

Closed vinayakbhat24 closed 6 years ago

vinayakbhat24 commented 7 years ago

Hi, I am not able to import a subnet with a ID which is displayed on otc console or CLI. What I found is, when you create a subnet through terraform, terraform output displays entirely different ID from what we see it from console or CLI. And I can import with a ID that is displayed in terraform output.

Thanks,

Crapworks commented 7 years ago

@vinayakbhat24

I've just checked and for some reasons the ID that is shown next to the subnet is NOT the subnet ID but the network ID. It looks like the subnet ID is not visible via the GUI and you have to use the openstack/neutron CLI or the OTC cli to get the subnet ID.

Cheers, Christian

Crapworks commented 6 years ago

@vinayakbhat24

Were you able to get the required IDs via API? Or do you need any help with this topic?

Cheers, Christian