-
v1.1dabdec21 · ·
Replaced the deprecated managed_policy_arns argument in aws_iam_role.default with aws_iam_role_policy_attachment resources, as recommended by the AWS provider, to ensure future compatibility and better separation of role and policy management. │ Warning: Argument is deprecated │ │ with module.tf_cross_acc_role.aws_iam_role.default[0], │ on .terraform/modules/tf_cross_acc_role/main.tf line 21, in resource "aws_iam_role" "default": │ 21: managed_policy_arns = [for policy in aws_iam_policy.default : policy.arn] │ │ managed_policy_arns is deprecated. Use the aws_iam_role_policy_attachment resource instead. If Terraform should exclusively manage all managed policy attachments (the current behavior of │ this argument), use the aws_iam_role_policy_attachments_exclusive resource as well.
-