𧱠A Terraform module template repo π§±
Table of Contents
Things to change when first creating a module:
- In
README.md
changeterraform-module
to the name of this module (i.e.terraform-cloudflare-record
) - In
README.md
find/replace instances ofbenniemosher-dev
andterraform-module
- In
.github/workflows/ci-terraform.yml
delete lines 13-14 enabling cost - In
README.md
delete the TODO section
- To install dependencies needed run:
brew bundle install
- To initialize Terraform in this folder:
task infra:init
- To update modules and providers in this folder:
task init -- -upgrade
- To validate the module in this folder:
task infra:validate
- To plan the infrastructure in this folder:
task infra:plan
- To plan specific resources of infrastructure in this folder:
task infra:plan -- -target='cloudflare_record.this'
- To find all the automation available in this folder:
task --list-all
- To estimate the cost of the infrastructure in this folder:
task infra:cost
- To update the documentation in this folder:
task infra:docs
- To lint the Terraform in this folder:
task infra:lint
- To validate security in this folder:
task infra:sec
Name | Version |
---|---|
terraform | 1.9.8 |
aws | ~> 5 |
null | ~> 3 |
Name | Version |
---|---|
null | 3.2.3 |
No modules.
Name | Type |
---|---|
null_resource.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
config | The config for creating this module. | object({ |
n/a | yes |
No outputs.