Module: module
This is an example project to provide all the scaffolding for a typical well-built Cloud Posse Terraform module for AWS resources. It's a template repository you can use when creating new repositories. This is not a useful module by itself.
Quick Start
- Use this repo as a template for a new repo.
- Check out the new repo and create a
gitbranch to work on. - Replace the Terraform code at the root of the repo with the code you want to publish.
- Replace the code in
examples/completewith Terraform code that will make a good automated test. Please keepcontext.tfandfixtures.us-east-2.tfvarsin place and change onlyname, leavingregion,namespace,environment, andstageas is. Provide outputs that will be useful for testing. - Update
test/src/examples_complete_test.goto verify the outputs of runningterraform applyonexamples/complete. - Run
make github/initto update the repo with the current Cloud Posse framework files (e.g.CODEOWNERS). - Run
make pr/auto-formatto format the Terraform code and generate documentation. - Commit everything to
gitand open your first PR on the new repo.