oci_psql_configuration

This resource provides the Configuration resource in Oracle Cloud Infrastructure Psql service.

Creates a new configuration.

Example Usage

resource "oci_psql_configuration" "test_configuration" {
	#Required
	compartment_id = var.compartment_id
	db_configuration_overrides {
		#Required
		items {
			#Required
			config_key = var.configuration_db_configuration_overrides_items_config_key
			overriden_config_value = var.configuration_db_configuration_overrides_items_overriden_config_value
		}
	}
	db_version = var.configuration_db_version
	display_name = var.configuration_display_name
	shape = var.configuration_shape

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.configuration_description
	freeform_tags = {"bar-key"= "value"}
	instance_memory_size_in_gbs = var.configuration_instance_memory_size_in_gbs
	instance_ocpu_count = var.configuration_instance_ocpu_count
	is_flexible = var.configuration_is_flexible
	system_tags = var.configuration_system_tags
}

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 Configuration * update - (Defaults to 20 minutes), when updating the Configuration * delete - (Defaults to 20 minutes), when destroying the Configuration

Import

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

$ terraform import oci_psql_configuration.test_configuration "id"