Skip to content

regmicmahesh/terraform-starter-kit

Repository files navigation

Project Setup.

Install pre-commit hooks before working.

pre-commit install

First of all create a new workspace according to your need by running the following command.

./do new {env} #where env can be dev/prod/uat or anything.

This will create a new workspace and switch to it. Also a new file is created in ./env called {env}.tfvars.

Passing the environment name is mandatory while running the script because it avoids having any configuration related issues in the future. If you have long running tasks just export your env in the terminal by running the following command.

export ENV=dev

Other commands.

./do plan
Usage: ./do <command> [<args>]
Commands:
  plan
  destroy
  init
  apply
  gen
  new <name>
  help

If you ha


terraform-docs

Requirements

Name Version
aws ~> 3.0

Providers

Name Version
aws 3.75.1

Modules

Name Source Version
vpc ./modules/vpc n/a

Resources

Name Type
aws_s3_bucket.default resource

Inputs

Name Description Type Default Required
bucket_name The name of the bucket to store the Terraform state string n/a yes
region The region to deploy infrastructure in string n/a yes

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published