hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.86k stars 9.2k forks source link

[Bug]: Typo in error message #40338

Open EugenKon opened 3 hours ago

EugenKon commented 3 hours ago

Terraform Core Version

v1.9.8

AWS Provider Version

v5.76.0

Affected Resource(s)

Expected Behavior

It should be should exclusively

Actual Behavior

No space in the message:

│ Warning: Argument is deprecated
│
│   with module.private-cloud.aws_iam_role.rds-monitoring-role,
│   on modules/private-cloud/rds.tf line 291, in resource "aws_iam_role" "rds-monitoring-role":
│  291:   managed_policy_arns = [data.aws_iam_policy.AmazonRDSEnhancedMonitoringRole.arn]
│
│ The managed_policy_arns argument is deprecated. Use the aws_iam_role_policy_attachment
│ resource instead. If Terraform shouldexclusively manage all managed policy attachments
│ (the current behavior of this argument), use the
│ aws_iam_role_policy_attachments_exclusive resource as well.
╵

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

N/A

Steps to Reproduce

N/A

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 3 hours ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue