terraform-provider-aci icon indicating copy to clipboard operation
terraform-provider-aci copied to clipboard

Create a new resource and data source for the aci_fallback_route(fvFBRoute)

Open sajagana opened this issue 3 months ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add aci_fallback_route resource to manage fvFBRoute object and update the aci_fallback_route_group resource to manage the fvFBRoute as a child object.

New or Affected Resource(s) + ACI Class(es):

  • aci_XXXXX + fv:XXXX

APIC version and APIC Platform

  • V x.x.x and on-prem/cloud-aws/cloud-azure/all.

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
resource "aci_rest_managed" "vrf_fallback_route_group1" {
  dn         = "${aci_vrf.vrf.id}/fbrg-fallback_grp_1"
  class_name = "fvFBRGroup"
  content = {
    name = "fallback_grp_1"
  }
  child {
    rn         = "pfx-[10.1.1.2/24]"
    class_name = "fvFBRoute"
    content = {
      fbrPrefix = "10.1.1.2/24"
      }
    }
  }
}

References

  • #0000

sajagana avatar Mar 21 '24 16:03 sajagana