oci_artifacts_container_image_signature

This resource provides the Container Image Signature resource in Oracle Cloud Infrastructure Artifacts service.

Upload a signature to an image.

Example Usage

resource "oci_artifacts_container_image_signature" "test_container_image_signature" {
	#Required
	compartment_id = var.compartment_id
	image_id = oci_core_image.test_image.id
	kms_key_id = oci_kms_key.test_key.id
	kms_key_version_id = oci_kms_key_version.test_key_version.id
	message = var.container_image_signature_message
	signature = var.container_image_signature_signature
	signing_algorithm = var.container_image_signature_signing_algorithm

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	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 20 minutes), when creating the Container Image Signature * update - (Defaults to 20 minutes), when updating the Container Image Signature * delete - (Defaults to 20 minutes), when destroying the Container Image Signature

Import

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

$ terraform import oci_artifacts_container_image_signature.test_container_image_signature "container/imageSignatures/{imageSignatureId}"