Skip to content

svenikea/terraform-packer-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture

"architect"

Deploy procedure

  • Step 1

Deploy Networking and database

  • Step 2

Build AMI with packer

  • Step 3

Deploy EC2, ALB and Autoscale

Terraform commands

Apply a specific target

terraform apply -target RESOURCE_TYPE.RESOURCE_NAME --auto-approve

Destroy a specific target

terraform destroy -target RESOURCE_TYPE.RESOURCE_NAME --auto-approve

Show All state

terraform state list

Show a specific state

terraform state show RESOURCE_TYPE.RESOURCE_NAME