Terraform Main Operations and state file

EPISODE · Jun 15, 2022 · 5 MIN

Terraform Main Operations and state file

from Programmers · host Software Engineering

Terraform main operations such as init plan apply and destroy and the state file telephone is a infrastructure as code tool a command line to help us create infrastructure with standard adjacent files and then run telephone apply in order to actually create this infrastructure either in AWS cloud or Google cloud or azure cloud or any other cloud provider even locally and it has many plugins. In this session init plan apply destroy state file variables terraform pattern consistentresource keyword resource identifier "aws_vpc" our name "mypc" in curly braces the parametesrs like cidr_block = "10.0.0.0/16" terraform initi's like mvn install Download the plugins to use aws We can run this command after created main.tf pull down modules terraform planwill show what's its going to do checks stateGet developer style diff before commit What already created which diff don't want to loose this state file terraform applyshowing the diff click yes to continue resources created in aws! terraform destroyto delete all reources confirm state file terraform.tfstatewe can see locally all that we created with terraform! this file will have ALL resources created by terraform visibility! we want this file to get missing json format .bak track changes we made used for diff Terraform main operations and components are: - [1] init [2] plan [3] apply [4] destroy - State files - variables - terraform pattern consistent - resource keyword - resource identifier "aws_vpc"  - our name "mypc"  - in curly braces the parametesrs like cidr_block = "10.0.0.0/16" - `terraform init`  - i's like mvn install  - Download the plugins to use aws  - We can run this command after created main.tf  - pull down modules - `terraform plan`  - will show what's its going to do  - checks state    - Get developer style diff before commit    - What already created which diff    - don't want to loose this state file - `terraform apply`  - showing the diff  - click `yes` to continue  - resources created in aws! - `terraform destroy`  - to delete all reources  - confirm - `state file` `terraform.tfstate`  - we can see locally all that we created with terraform!  - this file will have ALL resources created by terraform  - visibility!  - we want this file to get missing  - json format  - .bak  - track changes we made  - used for diff

NOW PLAYING

Terraform Main Operations and state file

0:00 5:31

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Command Line Heroes Red Hat Hear the epic true tales of how developers, programmers, hackers, geeks, and open source rebels are revolutionizing the technology landscape. Command Line Heroes is an award-winning podcast hosted by Saron Yitbarek and produced by Red Hat. Get root access to show notes, transcripts, and other associated content at https://redhat.com/commandlineheroes My JavaScript Story Charles M Wood Interviews with people, contributors, programmers, authors, and other builders in the JavaScript Community Khanyisa Keke TV Khanyisa Keke On Khanyisa Keke TV, developers can learn and improve their Android for Kotlin Development skills. On this podcast, programmers can learn Android for Kotlin coding from scratch, improve their existing programming skills, get tips, be kept up to date with all the latest happenings and get access to free resources. Powered by Firstory Hosting Eyes on the Right Podcast Join educator, counselor, and Bible teacher Amy as she uncovers the hidden world behind today’s culture. With years of in-depth research into topics like the Illuminati, secret societies, pagan religions, Hollywood, symbolism, and intentionally concealed truths, Amy brings a fresh and fearless perspective to the conversation.Drawing from her time living near Hollywood, insider connections, and experiences with survivors and mind control de-programmers, Amy shares powerful insights and firsthand accounts that shed light on the darkness. Viewing these topics through a Biblical lens.
URL copied to clipboard!