Skip to content

Unable to Enable Real-Time Data Protection for Autonomous Recovery Service Enabled CDB using Terraform #2461

@Dewk07

Description

@Dewk07

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 it

affected_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-affected-resourcesPlease Provide the affected resource name in description. ex. Affected resource - oci_core_instancebug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions