Skip to content

Commit 29b3a2c

Browse files
committed
clean up the code
1 parent f578c3a commit 29b3a2c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

iam.tf

-21
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,6 @@ resource "aws_iam_policy" "aqua_cspm_supplemental" {
3232
policy = data.aws_iam_policy_document.aqua_cspm_supplemental.json
3333
}
3434

35-
# module "aqua_cspm_role" {
36-
# source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role"
37-
# version = "~> 5.9.0"
38-
39-
# create_role = true
40-
41-
# role_name = "${local.name_prefix}-role"
42-
# role_description = "Assumable Role of Aqua SaaS"
43-
44-
# custom_role_trust_policy = data.aws_iam_policy_document.aqua_cspm_custom_trust.json
45-
46-
# custom_role_policy_arns = [
47-
# "arn:aws:iam::aws:policy/SecurityAudit",
48-
# aws_iam_policy.aqua_cspm_supplemental.arn,
49-
# ]
50-
51-
# depends_on = [
52-
# aws_lambda_invocation.external_id,
53-
# ]
54-
# }
55-
5635
resource "aws_iam_role" "aqua_cspm" {
5736
name = "${local.name_prefix}-role"
5837
description = "Assumable Role of Aqua SaaS"

0 commit comments

Comments
 (0)