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.71k stars 9.07k forks source link

[Docs]: statement block should wrap data.aws_iam_policy_document.authenticated_role_policy for aws_cognito_identity_pool_roles_attachment resource #30255

Closed matts009 closed 1 year ago

matts009 commented 1 year ago

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_identity_pool_roles_attachment

Description

A statement block should wrap the data.aws_iam_policy_document.authenticated_role_policy resource in the example for an aws_cognito_identity_pool_roles_attachment resource. It is missing and if copied to code, terraform will throw an error.

References

No response

Would you like to implement a fix?

Yes

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

mattburgess commented 1 year ago

@matts009 - thanks for reporting, and apologies for introducing this issue. I'm happy to fix this up but as you mentioned in your report that you'd like to implement a fix for it I don't mind leaving it to you. Just let me know.

justinretzolk commented 1 year ago

Hey @matts009 👋 Thank you for taking the time to raise this! It looks like this was fixed by #30443, so we'll close this one out.

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.