oci_containerengine_addon

This resource provides the Addon resource in Oracle Cloud Infrastructure Container Engine service.

Install the specified addon for a cluster.

Example Usage

resource "oci_containerengine_addon" "test_addon" {
	#Required
	addon_name = oci_containerengine_addon.test_addon.name
	cluster_id = oci_containerengine_cluster.test_cluster.id
	remove_addon_resources_on_delete = true

	#Optional
	configurations {

		#Optional
		key = var.addon_configurations_key
		value = var.addon_configurations_value
	}
	override_existing = false
	version = var.addon_version
}

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

Import

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

$ terraform import oci_containerengine_addon.test_addon "clusters/{clusterId}/addons/{addonName}"