Skip to content

Assign L3 VN to Fabric Site - INFRA_VN #272

@initd-01

Description

@initd-01

Hello,

What's the best practice to assign the L3 VN "INFRA_VN" to a new fabric site?

When using the data source - like in the documentation - it's refered by the name as id hence the response is the name.

`data "catalystcenter_fabric_virtual_network" "example" {
  id = "SDA_VN1"
}

However using the resource to assign a vn to a fabric site, the id is required. Which is then still unknown.

resource "catalystcenter_virtual_network_to_fabric_site" "example" {
  virtual_network_name = "SDA_VN1"
  virtual_network_id   = "c782eff3-b743-4da2-a6ea-a27582a71287"
  fabric_site_id       = "5e6f7b3a-2b0b-4a7d-8b1c-0d4b1cd5e1b1"
}

Thanks for your help and sorry for the basic question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions