» aci_cloud_endpoint_selector

Manages ACI Cloud Endpoint Selector Note: This resource is supported in Cloud APIC only.

» Example Usage

    resource "aci_cloud_endpoint_selector" "foocloud_endpoint_selector" {
        cloud_epg_dn    = "${aci_cloud_epg.foocloud_epg.id}"
        description      = "sample ep selector"
        name             = "ep_select"
        annotation       = "tag_ep"
        match_expression = "custom:Name=='admin-ep2'"
        name_alias       = "alias_ep"

» Argument Reference

  • cloud_epg_dn - (Required) Distinguished name of parent CloudEPg object.
  • name - (Required) name of Object cloud_endpoint_selector.
  • annotation - (Optional) annotation for object cloud_endpoint_selector.
  • match_expression - (Optional) Match expression for the endpoint selector to select EP on criteria.
  • name_alias - (Optional) name_alias for object cloud_endpoint_selector.

» Attribute Reference

The only attribute that this resource exports is the id, which is set to the Dn of the Cloud Endpoint Selector.

» Importing

An existing Cloud Endpoint Selector can be imported into this resource via its Dn, via the following command:

terraform import aci_cloud_endpoint_selector.example <Dn>