oracle / terraform-provider-oci

Terraform Oracle Cloud Infrastructure provider
https://www.terraform.io/docs/providers/oci/
Mozilla Public License 2.0
757 stars 680 forks source link

Cannot import oci_database_vm_cluster_network resource #2200

Open jlecerf62 opened 1 month ago

jlecerf62 commented 1 month ago

Community Note

Terraform Version and Provider Version

Terraform v1.9.6 on darwin_arm64

Affected Resource(s)

oci_database_vm_cluster_network

Terraform Configuration Files

import {
    id = "ocid1.vmclusternetwork.oc1.eu-paris-1.anxxxxx"
    to = oci_database_vm_cluster_network.this
}

Debug Output

https://gist.github.com/jlecerf62/4747e1b8dab890f6bcdcc0b02276c755

Panic Output

Expected Behavior

Plan: 1 to import, 0 to add, 0 to change, 0 to destroy. and TF file should be generated

Actual Behavior

Plan: 1 to add, 0 to change, 0 to destroy. and TF file is not generated

Steps to Reproduce

tf plan -generate-config-out=generated.tf

Important Factoids

References

tf-oci-pub commented 1 month ago

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.