Skip to content

TomorrowTechReviews/terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform 2024

Create cloud infrastructure with Terraform.

🚀 Deployment

terraform init
terraform apply

File Structure

  • develop - Development environment
  • production - Production environment
  • modules - Terraform modules

Useful AWS CLI Commands

  • terraform init - Initialize the Terraform configuration
  • terraform init -upgrade - Install the latest module and provider versions
  • terraform validate - Check whether the configuration is valid
  • terraform plan - Show changes required by the current configuration
  • terraform apply - Create or update infrastructure
  • terraform destroy - Destroy previously-created infrastructure

Docker container

https://github.com/TomorrowTechReviews/aws-cdk-ts/tree/main/containers/chats

Docker commands

Build on Apple Silicon M1:

docker buildx build --platform linux/amd64 -t chat .