oci_devops_build_pipeline

This resource provides the Build Pipeline resource in Oracle Cloud Infrastructure Devops service.

Creates a new build pipeline.

Example Usage

resource "oci_devops_build_pipeline" "test_build_pipeline" {
	#Required
	project_id = oci_devops_project.test_project.id

	#Optional
	build_pipeline_parameters {
		#Required
		items {
			#Required
			default_value = var.build_pipeline_build_pipeline_parameters_items_default_value
			name = var.build_pipeline_build_pipeline_parameters_items_name

			#Optional
			description = var.build_pipeline_build_pipeline_parameters_items_description
		}
	}
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.build_pipeline_description
	display_name = var.build_pipeline_display_name
	freeform_tags = {"bar-key"= "value"}
}

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

Import

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

$ terraform import oci_devops_build_pipeline.test_build_pipeline "id"