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

Filter regions by status in region data-source #130

Closed
serdardalgic opened this issue Feb 8, 2023 · 2 comments
Closed

Filter regions by status in region data-source #130

serdardalgic opened this issue Feb 8, 2023 · 2 comments
Labels
enhancement New feature or request go Pull requests that update Go code good first issue Good for newcomers

Comments

@serdardalgic
Copy link
Contributor

We can add a field to the biganimal_region data-source that would filter the regions according to their status.

For example:

data "biganimal_region" "this" {
  cloud_provider = var.cloud_provider
  project_id     = var.project_id
  filter {
    status = "active"
  }

}

This would show only the regions whose status is set to ACTIVE.

@serdardalgic serdardalgic added enhancement New feature or request go Pull requests that update Go code good first issue Good for newcomers labels Feb 8, 2023
@serdardalgic
Copy link
Contributor Author

With #209, this would also be accomplished.

@serdardalgic
Copy link
Contributor Author

Closing this ticket in favor of promoting #209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant