Skip to content

🧱 A Terraform module template. 🧱

License

Notifications You must be signed in to change notification settings

benniemosher-dev/terraform-module

Repository files navigation

Contributors Forks Stargazers Issues MIT License Workflow

terraform-module

🧱 A Terraform module template repo 🧱

Explore the docs | View Demo | Report Bug | Request Feature

Table of Contents

βœ… TODO:

Things to change when first creating a module:

  • In README.md change terraform-module to the name of this module (i.e. terraform-cloudflare-record)
  • In README.md find/replace instances of benniemosher-dev and terraform-module
  • In .github/workflows/ci-terraform.yml delete lines 13-14 enabling cost
  • In README.md delete the TODO section

(back to top)

πŸ“œ Usage:

  • 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'

πŸ†’ Extras:

  • 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

(back to top)

πŸ“‹ Documentation

Built With

Terraform AWS

Requirements

Name Version
terraform 1.9.8
aws ~> 5
null ~> 3

Providers

Name Version
null 3.2.3

Modules

No modules.

Resources

Name Type
null_resource.this resource

Inputs

Name Description Type Default Required
config The config for creating this module.
object({
name = string
})
n/a yes

Outputs

No outputs.

(back to top)

About

🧱 A Terraform module template. 🧱

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project