oci_apigateway_certificate

This resource provides the Certificate resource in Oracle Cloud Infrastructure API Gateway service.

Creates a new Certificate.

Example Usage

resource "oci_apigateway_certificate" "test_certificate" {
	#Required
	certificate = "${var.certificate_certificate}"
	compartment_id = "${var.compartment_id}"
	private_key = "${var.certificate_private_key}"

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = "${var.certificate_display_name}"
	freeform_tags = {"Department"= "Finance"}
	intermediate_certificates = "${var.certificate_intermediate_certificates}"
}

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

Import

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

$ terraform import oci_apigateway_certificate.test_certificate "id"