diff --git a/README.md b/README.md index e9b46e3..3197b43 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,6 @@ rebecaa linn : She does x86 (get context for ARM) cd ~/.aws/ +Update KMS.tf with key policy code (Teams) +Set AMI everywhere +Update \ No newline at end of file diff --git a/build.pkr.hcl b/build.pkr.hcl index e3791bd..f55a864 100644 --- a/build.pkr.hcl +++ b/build.pkr.hcl @@ -13,7 +13,7 @@ source "amazon-ebs" "rhel" { region = "us-gov-west-1" source_ami = "ami-01c116d3e0152a132" # Updated AMI ID for Amazon-Linux ssh_username = "ec2-user" - kms_key_id = "3b7f8ca7-6212-4b47-859d-bde50b75f501" # Static KMS Key ID +# kms_key_id = "3b7f8ca7-6212-4b47-859d-bde50b75f501" # Static KMS Key ID } build { diff --git a/kms.tf b/kms.tf index 6df8ceb..a287c22 100644 --- a/kms.tf +++ b/kms.tf @@ -1,42 +1,77 @@ -resource "aws_kms_key" "rhel_x86_codepipeline_key" { - description = "KMS key for RHEL x86 CodePipeline" - policy = <