Skip to content

New Data Sources to list all Address Groups for a given project and another to describe specific address group #20871

@yahooduggirala

Description

@yahooduggirala

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

Need two data sources -

  1. One that can list all address groups within a given project. Essentially the same/similar output as this gcloud command. Ideal output would be a list of objects where each object contains information about each addressgroup - like list of items, capacity, name and location.
gcloud network-security address-groups list --location global --format=json
  1. Another one that can fetch details of a given specific address group name. The ideal output of this would be a single object containing information about that addressgroup like list of items, capacity, name and location

New or Affected Resource(s)

  • google_network_security_address_group
  • google_network_security_address_groups

Potential Terraform Configuration

data "google_network_security_address_groups" "test" {
   project = "project_name"
}

data "google_network_security_address_group" "testA" {
    name = "foobar"
}

References

No response

b/389666666

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions