File tree Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.98.0
3+ rev : v1.99.1
44 hooks :
55 - id : terraform_fmt
66 - id : terraform_docs
Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ No modules.
112112| [ aws_caller_identity.current] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity ) | data source |
113113| [ aws_iam_policy_document.assume] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document ) | data source |
114114| [ aws_iam_policy_document.this] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document ) | data source |
115- | [ aws_partition.current] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition ) | data source |
116115
117116## Inputs
118117
Original file line number Diff line number Diff line change 11data "aws_caller_identity" "current" {}
2- data "aws_partition" "current" {}
32
43locals {
54 account_id = data. aws_caller_identity . current . account_id
@@ -146,17 +145,6 @@ locals {
146145data "aws_iam_policy_document" "assume" {
147146 count = local. create_iam_role ? 1 : 0
148147
149- statement {
150- sid = " EMR"
151- effect = " Allow"
152- actions = [" sts:AssumeRole" ]
153-
154- principals {
155- type = " Service"
156- identifiers = [" elasticmapreduce.${ data . aws_partition . current . dns_suffix } " ]
157- }
158- }
159-
160148 statement {
161149 sid = " IRSA"
162150 effect = " Allow"
You can’t perform that action at this time.
0 commit comments