Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (12.9k points)

Can anyone tell me what is tfstate file in Terraform?

1 Answer

0 votes
by (119k points)

When we build infrastructure with terraform configuration, a state file will be created automatically in the local workspace directory named “terraform.tfstate”. This tfstate file will have information about the provisioned infrastructure which terraform manage. Whenever we make changes to the configuration file, it will automatically determine which part of your configuration is already created. And, also it will determine which needs to be changed with the help of the state file.

If you want to learn more about Terraform, then register for this AWS DevOps Course by Intellipaat.

Also, watch this video on AWS services with Terraform:

Related questions

0 votes
1 answer
asked Aug 10, 2020 in AWS by Amyra (12.9k points)

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Aug 10, 2020 in AWS by Amyra (12.9k points)
0 votes
1 answer
asked Aug 10, 2020 in AWS by Amyra (12.9k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.7k users

Browse Categories

...