oci_artifacts_generic_artifact

This resource provides the Generic Artifact resource in Oracle Cloud Infrastructure Artifacts service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/registry/latest/GenericArtifact

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

Example Usage

resource "oci_artifacts_generic_artifact" "test_generic_artifact" {
	#Required
	artifact_id = oci_artifacts_artifact.test_artifact.id

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

Import

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

$ terraform import oci_artifacts_generic_artifact.test_generic_artifact "generic/artifacts/{artifactId}"