tgc-build-skill
When you need to build TGC from magic modules, use this skill.
When to Use This Skill
- Use this when building TGC from Magic Modules.
- This is helpful when you need to generate downstream code and compile the TGC binary after making configuration or template changes.
You must execute the script build_tgc.sh to automate both the code generation and compilation phases. This is the recommended and fastest way to ensure your codebase is fully synchronized.
- Ensure your current working directory is the root of the
magic-modulesrepository. - Execute the script from the
.agents/skillsdirectory:./.agents/skills/tgc/tgc-build-skill/scripts/build_tgc.sh
This will automatically:
- Run
make tgctargeting the standard$GOPATHconvention path forterraform-google-conversion. - Navigate into the respective directory.
- Effectively run
make mod-clean && make build.