GoogleCloudPlatform / terraform-validator

Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
https://cloud.google.com/docs/terraform/policy-validation
Apache License 2.0
438 stars 93 forks source link

A new datasource for fetching the list of alloydb supported database flags in a location. #1531

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

This PR is for https://github.com/hashicorp/terraform-provider-google/issues/13813

A new datasource google_alloydb_supported_database_flags for fetching the list of alloydb supported database flags in a location. It receives project and location as arguments and returns the details of each of the supported database flag in that location.

I have added documentation and tested this new data source with unit tests.

If this PR is for Terraform, I acknowledge that I have:

A new datasource for fetching the list of alloydb supported database flags in a location.

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7377