oci_psa_private_service_access

This resource provides the Private Service Access resource in Oracle Cloud Infrastructure Psa service.

Creates a private service access in the specified subnet (in the consumer’s VCN) and the specified compartment for a particular service.

Example Usage

resource "oci_psa_private_service_access" "test_private_service_access" {
	#Required
	compartment_id = var.compartment_id
	service_id = oci_psa_psa_service.test_psa_service.id
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.private_service_access_description
	display_name = var.private_service_access_display_name
	freeform_tags = {"Department"= "Finance"}
	ipv4ip = var.private_service_access_ipv4ip
	nsg_ids = var.private_service_access_nsg_ids
	security_attributes = var.private_service_access_security_attributes
}

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

Import

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

$ terraform import oci_psa_private_service_acces.test_private_service_acces "privateServiceAccess/{privateServiceAccessId}"