Skip to content

Commit

Permalink
refactor: Update Meraki organization network configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-humphries committed Jun 10, 2024
1 parent 48e6a7b commit ff47852
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions meraki_organization.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
data "meraki_organizations" "organizations" {
}
output "test" {
value = data.meraki_organizations.organizations
value = data.meraki_organizations.organizations.items
}
locals {
organization_map = { for organization in data.meraki_organizations.organizations.items : organization.name => organization.id }
Expand All @@ -19,20 +19,20 @@ locals {
]
])
}
output "meraki_domains_organizations" {
description = "Output the value of local.meraki.domains.organizations for debugging"
value = local.meraki.domains.organizations
}
# output "meraki_domains_organizations" {
# description = "Output the value of local.meraki.domains.organizations for debugging"
# value = local.meraki.domains.organizations
# }

output "organization_map" {
description = "Output the value of local.organization_map for debugging"
value = local.organization_map
}
# output "organization_map" {
# description = "Output the value of local.organization_map for debugging"
# value = local.organization_map
# }

output "networks" {
description = "Output the value of local.networks for debugging"
value = local.networks
}
# output "networks" {
# description = "Output the value of local.networks for debugging"
# value = local.networks
# }
resource "meraki_networks" "networks" {
for_each = { for network in local.networks : network.key => network }

Expand Down

0 comments on commit ff47852

Please sign in to comment.