oci_objectstorage_preauthrequest

This resource provides the Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service.

Creates a pre-authenticated request specific to the bucket.

Example Usage

resource "oci_objectstorage_preauthrequest" "test_preauthenticated_request" {
	#Required
	access_type = var.preauthenticated_request_access_type
	bucket = var.preauthenticated_request_bucket
	name = var.preauthenticated_request_name
	namespace = var.preauthenticated_request_namespace
	time_expires = var.preauthenticated_request_time_expires

	#Optional
	bucket_listing_action = var.preauthenticated_request_bucket_listing_action
	object = var.preauthenticated_request_object
}

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

Import

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

$ terraform import oci_objectstorage_preauthrequest.test_preauthenticated_request "n/{namespaceName}/b/{bucketName}/p/{parId}"