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

Compute instance groups plural datasource #18941

Open
roaks3 opened this issue Jul 31, 2024 · 1 comment
Open

Compute instance groups plural datasource #18941

roaks3 opened this issue Jul 31, 2024 · 1 comment

Comments

@roaks3
Copy link
Collaborator

roaks3 commented Jul 31, 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

Copied from #9712

Create a datasource for instance groups to retrieve multiple instance groups with filters, such as AWS ASG

This will allow an easier management of MIGs especially when integrating with Google Load Balancer ( google_compute_backend_service ) while having different MIGs created

New or Affected Resource(s)

  • google_compute_instance_groups

Potential Terraform Configuration

data "google_compute_instance_groups" "groups" {
  filter {
    name   = "key"
    values = ["Team"]
  }

  filter {
    name   = "value"
    values = ["Pets"]
  }
}

References

No response

b/356847050

@roaks3
Copy link
Collaborator Author

roaks3 commented Aug 1, 2024

This is a case of a plural datasource. See #8255 for more info and some light guidelines for implementation.

@melinath melinath added the size/s label Aug 5, 2024
@melinath melinath added this to the Goals milestone Aug 5, 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