Skip to content

Commit

Permalink
replace AWSConfigRole with AWS_ConfigRole
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 21, 2022
1 parent b2ca5ba commit 8f519e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ No modules.
| [aws_iam_policy_document.config_sqs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.config_sqs_deadletter](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
| [aws_regions.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/regions) | data source |
| [template_file.splunk_config](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |
| [template_file.splunk_configrules](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |

Expand Down
4 changes: 3 additions & 1 deletion config/role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ locals {
}
}

# https://docs.aws.amazon.com/config/latest/developerguide/security-iam-awsmanpol.html
# AWSConfigRole replaced by AWS_ConfigRole 2022-04-01
data "aws_iam_policy" "aws_config_role" {
name = "AWSConfigRole"
name = "AWS_ConfigRole"
}
data "aws_iam_policy" "aws_configrules_execution_role" {
name = "AWSConfigRulesExecutionRole"
Expand Down

0 comments on commit 8f519e8

Please sign in to comment.