Skip to content

kevinseq1/terraform-configurations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Random terraform configurations πŸ› 

This repository contains random terraform configuration files. Below is a detailed description of each file.

Prerequisite

docker terraform aws

File(s)

Usage

  • Each directory in this repo consists of a different terraform configuration files in sub directories. (When running the following commands make sure only one main.tf is present in the directory and rename any .tf file to main.tf while using that configuration file)

  • Enable verbose output logging for Terraform commands using:

    export TF_LOG=TRACE
    
  • To initialize the directory:

    terraform init
    
  • To validate the code to look for any errors in syntax, parameters, or attributes within Terraform resources that may prevent it from deploying correctly:

    terraform validate
    
  • To view what the configuration in the .tf file will create:

    terraform plan
    
  • To apply the configurations in the .tf file:

    terraform apply --auto-approve
    
  • To remove all the configurations applied from the .tf file:

    terraform destroy --auto-approve
    

About

Random terraform configurations πŸ“„

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages