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 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.98.0
3
+ rev : v1.99.1
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_docs
Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ No modules.
112
112
| [ aws_caller_identity.current] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity ) | data source |
113
113
| [ aws_iam_policy_document.assume] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document ) | data source |
114
114
| [ 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 |
116
115
117
116
## Inputs
118
117
Original file line number Diff line number Diff line change 1
1
data "aws_caller_identity" "current" {}
2
- data "aws_partition" "current" {}
3
2
4
3
locals {
5
4
account_id = data. aws_caller_identity . current . account_id
@@ -146,17 +145,6 @@ locals {
146
145
data "aws_iam_policy_document" "assume" {
147
146
count = local. create_iam_role ? 1 : 0
148
147
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
-
160
148
statement {
161
149
sid = " IRSA"
162
150
effect = " Allow"
You can’t perform that action at this time.
0 commit comments