Skip to content

docs: clarify publicly_accessible default for aws_db_instance and aws_rds_cluster_instance - #49935

Open
shashankvarma499 wants to merge 2 commits into
hashicorp:mainfrom
shashankvarma499:docs/rds-publicly-accessible-default
Open

docs: clarify publicly_accessible default for aws_db_instance and aws_rds_cluster_instance#49935
shashankvarma499 wants to merge 2 commits into
hashicorp:mainfrom
shashankvarma499:docs/rds-publicly-accessible-default

Conversation

@shashankvarma499

Copy link
Copy Markdown
Contributor

Description

The documentation for aws_db_instance and aws_rds_cluster_instance states that the publicly_accessible argument defaults to false. The actual default depends on the DB subnet group associated with the instance:

If DBSubnetGroup is specified, PubliclyAccessible defaults to false unless the value of DBSubnetGroup is default, in which case PubliclyAccessible defaults to true.

This updates both resource docs to describe that behavior.

Relations

Closes #46118

Signed-off-by: Shashank Varma <324153016+shashankvarma499@users.noreply.github.com>
Signed-off-by: Shashank Varma <324153016+shashankvarma499@users.noreply.github.com>
@shashankvarma499
shashankvarma499 requested a review from a team as a code owner September 10, 2026 06:39
@github-actions

Copy link
Copy Markdown
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions Bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. service/rds Issues and PRs that pertain to the rds service. size/XS Managed by automation to categorize the size of a PR. labels Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Introduces or discusses updates to documentation. needs-triage Waiting for first response or review from a maintainer. service/rds Issues and PRs that pertain to the rds service. size/XS Managed by automation to categorize the size of a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_rds_cluster_instance and aws_db_instance incorrectly report default value of publicly_accessible attribute

1 participant