Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.
Description
The google_sql_database_instance data source does not export (ie. have as attributes) the IP addresses of the instance. Though, oddly, if the instance has a replica, the network addresses of the replica can be obtained via the data source.
Please make the private and public addresses of the instance itself available via this data source.
New or Affected Resource(s)
google_sql_database_instance currently has a settings.ip_configuration attribute sub-block. These new attributes could be accessible via that sub-block.
Community Note
Description
The
google_sql_database_instance
data source does not export (ie. have as attributes) the IP addresses of the instance. Though, oddly, if the instance has a replica, the network addresses of the replica can be obtained via the data source.Please make the private and public addresses of the instance itself available via this data source.
New or Affected Resource(s)
google_sql_database_instance
currently has asettings.ip_configuration
attribute sub-block. These new attributes could be accessible via that sub-block.References
Initial work for data source: #2841
Documentation for data source: https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/sql_database_instance
Documentation for resource: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance
b/359704929