oci_dbmulticloud_oracle_db_aws_key

This resource provides the Oracle Db Aws Key resource in Oracle Cloud Infrastructure Dbmulticloud service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-multicloud-integrations/latest/OracleDbAwsKey

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dbmulticloud

Create DB AWS Key resource.

Example Usage

resource "oci_dbmulticloud_oracle_db_aws_key" "test_oracle_db_aws_key" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.oracle_db_aws_key_display_name
	oracle_db_connector_id = oci_dbmulticloud_oracle_db_connector.test_oracle_db_connector.id

	#Optional
	aws_account_id = oci_dbmulticloud_aws_account.test_aws_account.id
	aws_key_arn = var.oracle_db_aws_key_aws_key_arn
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	is_aws_key_enabled = var.oracle_db_aws_key_is_aws_key_enabled
	location = var.oracle_db_aws_key_location
	properties = var.oracle_db_aws_key_properties
	type = var.oracle_db_aws_key_type
}

Argument Reference

The following arguments are supported:

** 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

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Oracle Db Aws Key * update - (Defaults to 20 minutes), when updating the Oracle Db Aws Key * delete - (Defaults to 20 minutes), when destroying the Oracle Db Aws Key

Import

OracleDbAwsKeys can be imported using the id, e.g.

$ terraform import oci_dbmulticloud_oracle_db_aws_key.test_oracle_db_aws_key "id"