Skip to content

Repository files navigation

Stack-Example

The goal is for this stack to be deployed by first cloning the corresponding modules and the system config so that the directory structure looks as follows:

β”œβ”€β”€ modules
β”‚Β Β  β”œβ”€β”€ azure-postgres-flex
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ azure-postgres-flex.tm.hcl
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ common-vars.tf
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ main.tf
β”‚Β Β  β”‚Β Β  └── variables.tf
β”‚Β Β  └── other-modules
β”œβ”€β”€ README.md
β”œβ”€β”€ stack-example
β”‚Β Β  β”œβ”€β”€ config.tm.hcl
β”‚Β Β  β”œβ”€β”€ README.md
β”‚Β Β  β”œβ”€β”€ stack.tm.hcl
β”‚Β Β  └── terramate.tm.hcl
└── system-config
    β”œβ”€β”€ backend.tm.hcl
    β”œβ”€β”€ global-providers.tm.hcl
    └── system-config.tm.hcl

This project would also contain the ci job that executes those clones, does the terramate setup, terraform initialization, and deploys the resource(s).

About

Contains an example stack for a Terraform resource utilizing Terramate.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages