Closed jeliker closed 1 year ago
It seems the issue might be more a flaw in the import process which is not properly preserving source-db-system-id (for server built as clone) on the imported system. This seems like something that could be remedied in there Terraform provider (vs. API).
For servers built from DB backup I don't find any reference on the API page Database resource type that reflects the origin of the DB (i.e. OCID of a backup or OCID of another DB when building as clone). Perhaps this is an oversight at the API level?
We are very sorry that we couldn't respond to each and every issue reported on GitHub. Although we have refined the process to prioritize customer issues on GitHub, since this issue was reported a while ago, there is a good chance it may have been fixed in the latest version of Terraform Provider OCI. If you are still experiencing this issue, please create a new issue and label it as Bug.
Community Note
Terraform Version and Provider Version
Affected Resource(s)
Apply/create above which may timeout if > 2hrs. Following, I use
…then follow with
terraform plan
…or…
…then follow with
terraform plan
Debug Output
Panic Output
Expected Behavior
oci_database_db_system
to preserve source details such assource = "DB_BACKUP"
orsource = "DB_SYSTEM"
Actual Behavior
oci_database_db_system
does not includesource
attribute therefore Terraform script withsource
defined will trigger replace inappropriatelySteps to Reproduce
See above
Important Factoids
References