Skip to content

Commit

Permalink
Updated KMS
Browse files Browse the repository at this point in the history
  • Loading branch information
lolli001 committed Jul 23, 2024
1 parent 5f0d6aa commit 2324789
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion iam_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "aws_iam_policy" "rhel_x86_codepipeline_permissions" {
"kms:GenerateDataKey",
"kms:DescribeKey"
]
Resource = "arn:aws-us-gov:kms:us-gov-west-1:229685449397:key/your-key-id"
Resource = "arn:aws-us-gov:kms:us-gov-west-1:229685449397:key/02684d21-d541-4d83-8e0b-e8c95877d8cb"
},
{
Effect = "Allow"
Expand Down
5 changes: 5 additions & 0 deletions modules/image-pipeline/build.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
variable "kms_key_id" {
type = string
default = "k-kms-csvd-dev-dssasdas-ugw1"
}

source "amazon-ebs" "rhel" {
ami_name = "rhel-arm-{{timestamp}}"
instance_type = "t3.micro"
Expand Down

0 comments on commit 2324789

Please sign in to comment.