This resource provides the Autonomous Database Instance Wallet Management resource in Oracle Cloud Infrastructure Database service.
Updates the wallet for the specified Autonomous Database.
resource "oci_database_autonomous_database_instance_wallet_management" "test_autonomous_database_instance_wallet_management" {
#Required
autonomous_database_id = oci_database_autonomous_database.test_autonomous_database.id
#Optional
grace_period = var.autonomous_database_instance_wallet_management_grace_period
should_rotate = var.autonomous_database_instance_wallet_management_should_rotate
}
The following arguments are supported:
autonomous_database_id
- (Required) (Updatable) The database OCID.grace_period
- (Optional) (Updatable) The number of hours that the old wallet can be used after it has been rotated. The old wallet will no longer be valid after the number of hours in the wallet rotation grace period has passed. During the grace period, both the old wallet and the current wallet can be used.should_rotate
- (Optional) (Updatable) Indicates whether to rotate the wallet or not. If false
, the wallet will not be rotated. The default is false
.* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
The following attributes are exported:
autonomous_database_id
- The database OCID.should_rotate
- Indicates whether to rotate the wallet or not. If false
, the wallet will not be rotated. The default is false
.state
- The current lifecycle state of the Autonomous Database wallet.time_rotated
- The date and time the wallet was last rotated.The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Autonomous Database Instance Wallet Management
* update
- (Defaults to 20 minutes), when updating the Autonomous Database Instance Wallet Management
* delete
- (Defaults to 20 minutes), when destroying the Autonomous Database Instance Wallet Management
Import is not supported for this resource.