oci_devops_connection

This resource provides the Connection resource in Oracle Cloud Infrastructure Devops service.

Creates a new connection.

Example Usage

resource "oci_devops_connection" "test_connection" {
	#Required
	connection_type = var.connection_connection_type
	project_id = oci_devops_project.test_project.id

	#Optional
	access_token = var.connection_access_token
	app_password = var.connection_app_password
	base_url = var.connection_base_url
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.connection_description
	display_name = var.connection_display_name
	freeform_tags = {"bar-key"= "value"}
	tls_verify_config {
		#Required
		ca_certificate_bundle_id = oci_devops_ca_certificate_bundle.test_ca_certificate_bundle.id
		tls_verify_mode = var.connection_tls_verify_config_tls_verify_mode
	}
	username = var.connection_username
}

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

Import

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

$ terraform import oci_devops_connection.test_connection "id"