Terraform deployment
You can use these modules locally, by copying the workflow repository, or remotely, by referencing the modules from your own repository, similar to Terraform Registry.
Remote
Initial setup
- Copy one of the
examplesto your own repository - Point module sources to the
avtomat-hubGitHub organization. - Review
variables.tfand export environment variables- The hub account will be the account for which environment variables are exported
- Run
terraform initandterraform apply
Maintenance
To update the modules, bump the version of the source attributes:
ref=0.0.1 -> ref=0.0.2
Run terraform init and terraform apply.
Local
Initial setup
- Copy this repository to your version control system
- Copy one of the
examplesto the root of the repository or to a separate repository - Point module sources to local paths or version control system URLs, depending on the approach in step 2
- Review
variables.tfand export environment variables- The hub account will be the account for which environment variables are exported
- Run
terraform initandterraform apply
Maintenance
If a new version of the module is published in avtomat-hub, pull the changes to your copy.
Run terraform init and terraform apply.
Support
Please email any questions, feature requests or bug reports to dimitar@avtomat.io