Terraform

Terraform is an open-source infrastructure as code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp.

Terraform Program

provider "github" {
  token = "${var.github_token}"
  owner = "${var.github_owner}"
}

5 Terraform Commands

terraform version-display Terraform binary version, also warns if version is old

terraform init- initialize directory, pull down providers

terraform plan-to output your plan to apply it later.

terraform apply-deploys or applies your configuration to a provider.

terraform destroy-will destroy your infrastructure

terraform show- current state of a saved plan, providing good information about the infrastructure you’ve deployed

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x