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

google_compute_global_address datasource should include an ip_address property with the address/prefix notation #19502

Open
red8888 opened this issue Sep 17, 2024 · 0 comments

Comments

@red8888
Copy link

red8888 commented Sep 17, 2024

Community Note

  • 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 an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

Consider this annoyance:

resource "google_apigee_instance" "xxxx" {
  ...
  ip_range = "${data.google_compute_global_address.xxxxx.address}/${data.google_compute_global_address.xxxx.prefix_length}"
}

I'm not sure what you'd call the property, but this is weirdly inconsistent with other GCP resources that include the prefix in the address properties. Maybe a new property named ip_address?

New or Affected Resource(s)

  • google_compute_global_address

Potential Terraform Configuration

resource "google_apigee_instance" "xxxx" {
  ...
  ip_range = data.google_compute_global_address.xxxxx.ip_address
}

References

b/373407017

@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-ipam labels Sep 17, 2024
@rileykarson rileykarson added size/s and removed forward/review In review; remove label to forward labels Oct 14, 2024
@rileykarson rileykarson added this to the Goals milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants