» aci_subnet

Manages ACI Subnet

» Example Usage

    resource "aci_l3_ext_subnet" "foosubnet" {
      external_network_instance_profile_dn  = "${aci_external_network_instance_profile.example.id}"
      description                           = "Sample L3 External subnet"
      ip                                    = ""
      aggregate                             = "shared-rtctrl"
      annotation                            = "tag_ext_subnet"
      name_alias                            = "alias_ext_subnet"
      scope                                 = "import-security"

» Argument Reference

  • external_network_instance_profile_dn - (Required) Distinguished name of parent ExternalNetworkInstanceProfile object.
  • ip - (Required) ip of Object subnet.
  • aggregate - (Optional) Aggregate Routes for Subnet. Allowed values are "import-rtctrl", "export-rtctrl" and "shared-rtctrl".
  • annotation - (Optional) annotation for object subnet.
  • name_alias - (Optional) name_alias for object subnet.
  • scope - (Optional) The domain applicable to the capability. Allowed values are "import-rtctrl", "export-rtctrl", "import-security", "shared-security" and "shared-rtctrl". Default is "import-security".

  • relation_l3ext_rs_subnet_to_profile - (Optional) Relation to class rtctrlProfile. Cardinality - N_TO_M. Type - Set of Map.

  • relation_l3ext_rs_subnet_to_rt_summ - (Optional) Relation to class rtsumARtSummPol. Cardinality - N_TO_ONE. Type - String.

» Attribute Reference

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

» Importing

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

terraform import aci_subnet.example <Dn>