Skip to content

Commit

Permalink
resolve deprecations (#350)
Browse files Browse the repository at this point in the history
* Update variables.tf

* resolve deprecations

---------

Co-authored-by: Thaung Htike Oo <thaunghtikeoo@Thaungs-MacBook-Pro.local>
  • Loading branch information
thaunghtike-share and Thaung Htike Oo authored Oct 9, 2023
1 parent ffa21df commit 2e4f1e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aws_csi_secrets_store.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "null_resource" "csi_secrets_store_aws_provider" {
depends_on = [helm_release.csi_secrets_store]

provisioner "local-exec" {
command = "kubectl apply -f -<<EOF\n${data.http.csi_secrets_store_aws_provider.body}\nEOF"
command = "kubectl apply -f ${data.http.csi_secrets_store_aws_provider.url}"
}
}

7 changes: 4 additions & 3 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ resource "aws_eks_addon" "core" {
var.efs_enabled ? ["aws-efs-csi-driver"] : [],
]))

cluster_name = aws_eks_cluster.cluster.name
addon_name = each.key
resolve_conflicts = "OVERWRITE"
cluster_name = aws_eks_cluster.cluster.name
addon_name = each.key
resolve_conflicts_on_update = "OVERWRITE"
resolve_conflicts_on_create = "OVERWRITE"

depends_on = [
kubernetes_config_map.aws_auth,
Expand Down

0 comments on commit 2e4f1e8

Please sign in to comment.