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
437 stars 93 forks source link

Move various files into correct locations, including moving test files into location so they're used in the downstream #1479

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

Small, nit-picky PR:

  1. I found a handwritten data source in the folder location for handwritten resources - I wanted to correct this
  2. I also found a data source test file that was named in a way that broke conventions
  3. Also, some handwritten tests were in an incorrect location so they weren't copied into the downstream correctly
    • mmv1/third_party/terraform/examples/*_test.go moved to mmv1/third_party/terraform/tests

As a result of # 3 above, this PR introduces two new tests to the downstreams that I didn't write:


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

Release Note Template for Downstream PRs (will be copied)

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