Skip to content

Commit

Permalink
add namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 27, 2022
1 parent ad1ddf6 commit b58b56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/efs-persistent-volumes/efs-access-points.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ resource "kubernetes_persistent_volume" "efs_ap" {
resource "kubernetes_persistent_volume_claim" "efs_ap" {
for_each = { for ap in var.efs_access_points : ap.name => ap }
metadata {
name = format("%v-%v-claim", var.cluster_name, each.key)
name = format("%v-%v-%v-claim", var.cluster_name, each.value.claim_namespace, each.key)
namespace = format("%v-%v", var.cluster_name, each.value.claim_namespace)
}
wait_until_bound = false
Expand Down

0 comments on commit b58b56f

Please sign in to comment.