Skip to content

Commit

Permalink
Fix secret example, use prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
angelabad committed Sep 17, 2023
1 parent fcfa266 commit 045dc13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ resource "aws_kms_key" "msk-test" {
}

resource "aws_secretsmanager_secret" "msk-test" {
name = "AmazonMSK_example"
kms_key_id = aws_kms_key.msk-test.key_id
name_prefix = "AmazonMSK_example"
kms_key_id = aws_kms_key.msk-test.key_id
}

resource "aws_secretsmanager_secret_version" "msk-test" {
Expand Down

0 comments on commit 045dc13

Please sign in to comment.