Skip to content

Commit

Permalink
fix: s3 path. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Apr 11, 2023
1 parent a93b8e9 commit 918db3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save-credentials-to-s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "aws_s3_object" "combined_outputs" {

provider = aws.primaryregion
bucket = module.common_s3.primary_s3_bucket_id
key = "clusters/${each.value}.${aws_route53_zone.main.name}/configurations/credentials.json"
key = "${each.value}.${aws_route53_zone.main.name}/configurations/credentials.json"
content = jsonencode({
certmanager_credentials = { (aws_route53_zone.clusters[each.value].name) = aws_iam_access_key.certmanager[each.value] },
externaldns_credentials = { (aws_route53_zone.clusters[each.value].name) = aws_iam_access_key.externaldns[each.value] },
Expand Down

0 comments on commit 918db3d

Please sign in to comment.