From e482b317c2330be4d60fc20aa4ec70b57ffe370e Mon Sep 17 00:00:00 2001 From: lolli001 Date: Tue, 23 Jul 2024 18:02:05 -0400 Subject: [PATCH] Stopping the creation of an existing kms key --- iam_policy.tf | 3 ++- kms.tf | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iam_policy.tf b/iam_policy.tf index 75f243a..67c6f0f 100644 --- a/iam_policy.tf +++ b/iam_policy.tf @@ -177,4 +177,5 @@ resource "aws_iam_policy" "rhel_x86_ec2_permissions" { resource "aws_iam_role_policy_attachment" "rhel_x86_ec2_role_attachment" { role = aws_iam_role.rhel_x86_ec2_role.name policy_arn = aws_iam_policy.rhel_x86_ec2_permissions.arn -} \ No newline at end of file +} + diff --git a/kms.tf b/kms.tf index e0491c1..ac978bf 100644 --- a/kms.tf +++ b/kms.tf @@ -1,6 +1,5 @@ resource "aws_kms_key" "rhel_x86_codepipeline_key" { description = "KMS key for RHEL x86 CodePipeline" - key_id = "ba7dabdd-0f5a-44aa-9a90-a36c246a29a4" # Static KMS Key ID policy = <