1)What is terraform?

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

Terraform is an open source “Infrastructure as Code” tool, created by HashiCorp.

declarative coding tool, Terraform enables developers to use a high-level configuration language called HCL (HashiCorp Configuration Language) to describe the desired “end-state” cloud or on-premises infrastructure for running an application. It then generates a plan for reaching that end-state and executes the plan to provision the infrastructure.

2)One example terraform program

variable “include_ec2_instance” 

{

 type = bool default = true

 } 

resource “aws_instance” “example”

 { 

count = var.include_ec2_instance ? 1 :0 # (other resource arguments…) 

output “instance_ip_address”

 {

 value = one(aws_instance.example[*].private_ip) 

}

3)List of 5 terraform commands and its use

  import             Import existing infrastructure into Terraform
  apply              Builds or changes infrastructure
  get                Download and install modules for the configuration
  push               Upload this Terraform module to Terraform Enterprise to run
 refresh            Update local state file against real resources
Subscribe
Notify of
guest

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

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x