DAY-4 DevOps Assignment

1. What is terraform?

Terraform is an open-source infrastructure as code software tool created by HashiCorp. HashiCorp Terraform is an infrastructure as code tool that lets you define both cloud and on-prem resources in human-readable configuration files that you can version, reuse, and share. You can then use a consistent workflow to provision and manage all of your infrastructure throughout its lifecycle.

2. One example terraform program

resource “github_repository” “example” { name=”example9999999″

description = “My awesome codebase hey”visibility = “public”


3. List of 5 terraform commands and its use

1. Terraform apply – It carries out the planned changes to resource using the same type of.

2. Terraform plan – it checks the configuration to determine the desired state of all the resources it declares.

3. Terraform init – it is used to initialize a working directory containing configuration files.

4. Terraform destroy – terminates resources defined in terraform configuration.

5. Terraform show – used to provide human readable output from a state or plan file.

Notify of

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

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x