Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions products/container/validator/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This directory contains the configuration required to build
terraform-google-conversion (a.k.a. terraform-mapper). Since terraform provider
is mostly handwritten, there are no terraform.yaml file that could be used to
generate the code for terraform-mapper.

Instead, a simplified version of terraform.yaml is provided here which can be
used as a drop-in replacement to generate code for terraform-mapper.

To generate code for terraform mapper, run the following in a new branch:

```
cp products/container/validator/*.yaml products/container
touch templates/terraform/custom_expand/empty.erb
bundle exec compiler -a -v "ga" -e terraform -f validator -o <output-directory>
rm templates/terraform/custom_expand/empty.erb
git checkout products/container
```
Loading