Terraform deployment
You can use these modules locally, by cloning the workflow repository, or remotely, by referencing the modules from your own repository, similar to Terraform Registry.
Remote
Initial setup
- Copy one of the
examples
to your own repository - Point module sources to the
avtomat-hub
GitHub organization. - Review
variables.tf
and export environment variables- The hub account will be the account for which environment variables are exported
- Run
terraform init
andterraform 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
examples
to 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.tf
and export environment variables- The hub account will be the account for which environment variables are exported
- Run
terraform init
andterraform 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