Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: align docs for fields with SchemaConfigModeAttr #20428

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

radeksimko
Copy link
Member

Fields which use ConfigMode: schema.SchemaConfigModeAttr are generally treated as attributes by core. See https://github.com/hashicorp/terraform/blob/v1.0.3/internal/lang/blocktoattr/schema.go for more.

Additionally it is proposed to deprecate blocks generally in providers in the long run as per hashicorp/terraform-plugin-framework#85

This documentation update reflects this plan and current reality by encouraging users to use the attribute notation.

I assume that some fields should probably be renamed to plural in the long run, but that seems like a job for another PR and more careful planning.

@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. service/emr Issues and PRs that pertain to the emr service. needs-triage Waiting for first response or review from a maintainer. size/L Managed by automation to categorize the size of a PR. labels Aug 3, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Aug 3, 2021
@ewbankkit ewbankkit merged commit 407a85c into hashicorp:main Aug 3, 2021
@github-actions github-actions bot added this to the v3.53.0 milestone Aug 3, 2021
@radeksimko radeksimko deleted the docs-attr-as-block branch August 4, 2021 07:01
@github-actions
Copy link

github-actions bot commented Aug 5, 2021

This functionality has been released in v3.53.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Sep 5, 2021

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. service/emr Issues and PRs that pertain to the emr service. size/L Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants