Skip to content

Commit

Permalink
updates to module
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttyso committed Sep 21, 2022
1 parent b5122b5 commit 64f96b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/vsan_policy_add_vsans/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# GUI Location: Policies > Create Policy > VSAN > Add VSAN
#__________________________________________________________________

resource "intersight_fabric_vsan" "vsan" {
resource "intersight_fabric_vsan" "vsans" {
for_each = var.vsan_list
default_zoning = var.default_zoning
fcoe_vlan = each.value.fcoe_vlan
Expand Down
4 changes: 2 additions & 2 deletions modules/vsan_policy_add_vsans/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ variable "tags" {

variable "vsan_list" {
default = {}
type = map(object({
type = list(object({
fcoe_vlan = number
vsan_id = number
}))
}

variable "vsan_prefix" {
default = "VLAN"
default = "VSAN"
description = "Prefix Name for VSANs."
type = string
}
Expand Down

0 comments on commit 64f96b7

Please sign in to comment.