-
Notifications
You must be signed in to change notification settings - Fork 724
Description
We are trying to enable Real-Time Data Protection for Autonomous Recovery Service enabled CDBs using Terraform.
Currently, we are using the oci_database_database
resource to provision the CDB. However, this module does not provide any parameter to enable Real-Time Data Protection.
We also explored the oci_recovery_protected_database
resource, which offers is_redo_logs_shipped parameter to enable and diasble Real-Time Data Protection.
However, attempting to modify this value using oci_recovery_protected_database results in the following error.
Error:
Error: 405-MethodNotAllowed
Only the OCI Database Service which created the protected database C006OAD can modify or delete itaffected_resources = oci_database_database
Request:
-
Please confirm if enabling Real-Time Data Protection for an Autonomous Recovery Service-enabled CDB is currently supported via Terraform.
-
If so, could support be added to the oci_database_database resource?
-
Alternatively, if this is a service-side restriction, please advise on the correct approach to manage this configuration through Terraform.