Skip to content

Commit

Permalink
fix: solved warning depreciated property managed_policy_arns with aws…
Browse files Browse the repository at this point in the history
…_iam_role_policy_attachments_exclusive

fix: solved warning depreciated property managed_policy_arns with aws_iam_role_policy_attachments_exclusive
  • Loading branch information
borgeslima authored Oct 23, 2024
1 parent d2a196c commit 52a40fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ resource "aws_iam_role_policy_attachments_exclusive" "amazon_dms_redshift_S3_rol
resource "aws_iam_role" "dms_cloudwatch_logs_role" {
count = var.create && var.create_iam_roles ? 1 : 0

name = "dms-cloudwatch-logs-role3"
name = "dms-cloudwatch-logs-role"
description = "DMS IAM role for CloudWatch logs permissions"
permissions_boundary = var.iam_role_permissions_boundary
assume_role_policy = data.aws_iam_policy_document.dms_assume_role[0].json
Expand All @@ -117,7 +117,7 @@ resource "aws_iam_role_policy_attachments_exclusive" "amazon_dms_cloud_watch_log
resource "aws_iam_role" "dms_vpc_role" {
count = var.create && var.create_iam_roles ? 1 : 0

name = "dms-vpc-role2"
name = "dms-vpc-role"
description = "DMS IAM role for VPC permissions"
permissions_boundary = var.iam_role_permissions_boundary
assume_role_policy = data.aws_iam_policy_document.dms_assume_role[0].json
Expand Down

0 comments on commit 52a40fd

Please sign in to comment.