File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ data "aws_caller_identity" "current" {}
2+
3+ data "aws_iam_policy_document" "support_assume_policy" {
4+ statement {
5+ sid = " supportpolicy"
6+ actions = [" sts:AssumeRole" ]
7+ principals {
8+ type = " AWS"
9+ identifiers = [data . aws_caller_identity . current . id ]
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ resource "aws_iam_account_password_policy" "default" {
2020 max_password_age = var. max_password_age
2121}
2222
23+ # Moved to data.tf file
2324# --------------------------------------------------------------------------------------------------
2425# Support Role - https://us-east-1.console.aws.amazon.com/securityhub/home?region=us-east-1#/standards/cis-aws-foundations-benchmark-1.4.0/1.17
2526# https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-cis-controls.html#cis-1.20-remediation
You can’t perform that action at this time.
0 commit comments