Skip to content

Commit

Permalink
fixes to kubernetes_cluster_profile source code
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttyso committed Oct 15, 2021
1 parent 425aef1 commit 47d1b01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/kubernetes_cluster_profiles/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ locals {
])

kubernetes_node_pools = {
for k, v in local.node_pools_loop : "${v.cluster_profile_moid}_${v.node_pool}" => v
for k, v in local.node_pools_loop : "${v.kubernetes_cluster_moid}_${v.node_pool}" => v
}
}
2 changes: 1 addition & 1 deletion modules/kubernetes_cluster_profiles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module "kubernetes_cluster_addons" {
depends_on = [
module.kubernetes_cluster_profiles
]
source = "../../../terraform-intersight-imm/modules/kubernetes_cluster_addons"
source = "terraform-cisco-modules/imm/intersight//modules/kubernetes_cluster_addons"
for_each = local.kubernetes_cluster_profiles
addons = [
for a in each.value.addons_policy_moid :
Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes_policies/kubernetes_version_policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ variable "kubernetes_version_policies" {
#______________________________________________

module "kubernetes_version_policies" {
source = "../../../terraform-intersight-imm/modules/kubernetes_version_policies"
source = "terraform-cisco-modules/imm/intersight//modules/kubernetes_version_policies"
for_each = local.kubernetes_version_policies
description = each.value.description != "" ? each.value.description : "${each.key} Version Policy."
name = each.key
Expand Down
8 changes: 4 additions & 4 deletions modules/tfe/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Output Agent Pool ID from Terraform Cloud
#__________________________________________________________

output "tfc_agent_pool" {
description = "Terraform Cloud Agent Pool ID."
value = module.tfc_agent_pool
}
# output "tfc_agent_pool" {
# description = "Terraform Cloud Agent Pool ID."
# value = module.tfc_agent_pool
# }

0 comments on commit 47d1b01

Please sign in to comment.