Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to add networks using network name and set networks tags #333

Open
brude-softserve opened this issue Apr 30, 2021 · 2 comments
Labels
enhancement Enhancement stale Stale

Comments

@brude-softserve
Copy link

vRA version
v8
Terraform version
v0.14.9
terraform-provider-vra plugin version
v0.3.5

Is your feature request related to a problem? Please describe.
Adding multiple network profiles with multiple networks causes a lot of additional Terraform coding because you need to calculate network IDs from network names using the vra_fabric_network data source and do it for multiple networks for multiple network profiles. We've created a workaround but it doesn't look like production-ready solution.

Also we widely use network tags in order to properly place our compute resources. But currently the provider only supports setting networks IDs when creating a network profile. So in our case we need to set all the tags manually.

Describe the solution you'd like
It would be good if the provider will support something like this:

resource "vra_network_profile" "this" {
  for_each    = var.network_profiles
  name        = each.key
  description = "Network Profile"
  region_id = var.region_id
  isolation_type = each.value.isolation_type
  fabric_networks {
    name = "network1"
    tags {
      key = "datacenter"
      value = "lab1"
    }
  }
}
@brude-softserve brude-softserve added the enhancement Enhancement label Apr 30, 2021
@github-actions
Copy link

Marking this issue as stale due to inactivity. This helps us focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Stale label Jul 22, 2021
@frodenas frodenas added needs-triage Needs Triage and removed stale Stale labels Jul 22, 2021
@tenthirtyam tenthirtyam changed the title Need ability to add networks using network name and set networks tags Add support to add networks using network name and set networks tags Jul 10, 2024
@tenthirtyam tenthirtyam removed the needs-triage Needs Triage label Jul 10, 2024
Copy link

github-actions bot commented Dec 4, 2024

Marking this issue as stale due to inactivity. This helps us focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context.
Thank you!

@github-actions github-actions bot added the stale Stale label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement stale Stale
Projects
None yet
Development

No branches or pull requests

3 participants