/terraform_ec2_freebsd

A small example for launching an EC2 instance on AWS using FreeBSD OS and running a small apache server.

Primary LanguageHCL

Commands

Init a project

terraform init

Validate syntax (Optional)

terraform validate

See ahead of time the resources to be created

terraform plan

Deploy

terraform apply

Destroy

terraform destroy

Upgrade modules (like hashicorp/aws)

terraform init -upgrade