Skip to content

Commit

Permalink
PLT-188: pass tags for virtual cluster. (#55)
Browse files Browse the repository at this point in the history
Co-authored-by: nikolay-spectro <[email protected]>
  • Loading branch information
nikchern and nikchern authored Dec 27, 2022
1 parent 338428e commit a598419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spectro-virtual-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ resource "spectrocloud_virtual_cluster" "virtual_cluster_demo" {
for_each = local.virtual_clusters_iterable

name = each.value.name
tags = try(each.value.tags, [])

host_cluster_uid = try(local.host_clusters_name_map[each.value.host_cluster_name][0], null)
cluster_group_uid = try(local.vir_clusters_group_name_map[each.value.cluster_group_name][0], null)
resources {
Expand Down

0 comments on commit a598419

Please sign in to comment.