Skip to content

Commit

Permalink
feat: added policy data description
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Jun 14, 2023
1 parent c651142 commit dd64c5c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
provider "aws" {
alias = "primary"
region = "us-east-1"
}
##----------------------------------------------------------------------------------
## Labels module callled that will be used for naming and tags.
##----------------------------------------------------------------------------------
Expand All @@ -15,7 +11,6 @@ module "labels" {
label_order = var.label_order
}


data "aws_caller_identity" "current" {}
data "aws_partition" "current" {}

Expand Down Expand Up @@ -64,7 +59,9 @@ resource "aws_kms_alias" "default" {
target_key_id = join("", aws_kms_key.default.*.id)
}


##----------------------------------------------------------------------------------
## Data block called to get Permissions that will be used in creating policy.
##----------------------------------------------------------------------------------
data "aws_iam_policy_document" "default" {
version = "2012-10-17"
statement {
Expand Down

0 comments on commit dd64c5c

Please sign in to comment.