From a63251092cc1e7345f7b810b083c2b9f4a5e00ef Mon Sep 17 00:00:00 2001 From: Kourosh Mobl Date: Tue, 18 Jun 2024 14:39:45 -0500 Subject: [PATCH] EKS kms key policy removal --- .../us-gov-west-1/management-account/day0/data.tf | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/aws/terraform/us-gov-west-1/management-account/day0/data.tf b/aws/terraform/us-gov-west-1/management-account/day0/data.tf index f1bb0ef..9494696 100644 --- a/aws/terraform/us-gov-west-1/management-account/day0/data.tf +++ b/aws/terraform/us-gov-west-1/management-account/day0/data.tf @@ -1,18 +1,3 @@ data "aws_caller_identity" "current" {} data "aws_partition" "current" {} - -data "aws_iam_policy_document" "eks_key" { - - statement { - effect = "Allow" - actions = ["kms:*"] - resources = ["*"] - principals { - type = "AWS" - identifiers = [ - "arn:${data.aws_partition.current.partition}:iam::${data.aws_caller_identity.current.account_id}:root" - ] - } - } -} \ No newline at end of file