oci_artifacts_repository

This resource provides the Repository resource in Oracle Cloud Infrastructure Artifacts service.

Creates a new repository for storing artifacts.

Example Usage

resource "oci_artifacts_repository" "test_repository" {
	#Required
	compartment_id = var.compartment_id
	is_immutable = var.repository_is_immutable
	repository_type = var.repository_repository_type

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.repository_description
	display_name = var.repository_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 20 minutes), when creating the Repository * update - (Defaults to 20 minutes), when updating the Repository * delete - (Defaults to 20 minutes), when destroying the Repository

Import

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

$ terraform import oci_artifacts_repository.test_repository "id"