Skip to content

Commit

Permalink
Fixed index for KMS
Browse files Browse the repository at this point in the history
  • Loading branch information
vertisan committed Sep 13, 2023
1 parent 5329642 commit 1cf751c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_kms_key" "default" {

resource "aws_codeartifact_domain" "default" {
domain = var.name
encryption_key = var.dedicated_kms ? aws_kms_key.default.arn : null
encryption_key = var.dedicated_kms ? aws_kms_key.default[0].arn : null

tags = var.tags
}

0 comments on commit 1cf751c

Please sign in to comment.