oci_pss_instance

This resource provides the Instance resource in Oracle Cloud Infrastructure Pss service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

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

Creates an Instance.

Example Usage

resource "oci_pss_instance" "test_instance" {
	#Required
	admin_identity_domain_user_id = oci_identity_user.test_user.id
	compartment_id = var.compartment_ocid
	identity_domain_url = var.instance_identity_domain_url

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.instance_display_name
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_pss_instance.test_instance "id"