Skip to content

Commit

Permalink
EKS kms key policy removal
Browse files Browse the repository at this point in the history
  • Loading branch information
kourosh-forti-hands authored Jun 18, 2024
1 parent b6b337e commit a632510
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions aws/terraform/us-gov-west-1/management-account/day0/data.tf
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}

0 comments on commit a632510

Please sign in to comment.