Terraform refresh - Update local state file against real resources

preview_player
Показать описание
Update local state file against real resources

#terraform #aws #devopstools
Рекомендации по теме
Комментарии
Автор

I’m Deekshit too. Good to hear my name.

mparikshit
Автор

Hi Deekshith,
Thanks for the video, I have one doubt here, if we create the resource manually from the console, in that case, if we run the terraform refresh the local state will be updated with the new resource that we created manually? or is there any other way we need to update the state file?? Could you please clear doubt

Nareshmanam
Автор

excellent video👍👍. but what will happen if we don't run Terraform refresh command and run Terraform plan again will it create manually delete resources once again I think it won't. Then is there any way to recover back that resources

mayureshpatilvlogs
Автор

In physical we have 3 ec2 but in old state file having 2 ec2 instance. Then how i sync my state file with having 3 ec2 instance?

afifsarker
Автор

Thanks for sharing such important blog . I have one doubt whenever I try to execute the command refresh the error "Inconsistent dependency lock file" comes with no output . Please assist me on this .

soumyadipchatterjee
Автор

Nice video. Please do answers video for remaining interview questions sir

sweathagulabi
Автор

What happens if we run terraform apply after deleting resource in AWS?

shyamcheekoti
Автор

What will happen when we do terraform plan or apply when resource got deleted from AWS?

shyamcheekoti
Автор

Sir, we create few of resources via terraform and few are created manually in aws console. In that case does this terraform refresh work. How does this work??

yogithakakarla
Автор

Sir, I write code, but while I apply for ini, plan and apply.. It show no changes

debrajpradhan
Автор

What will happen if we delete state file?

krishnapriya-xnxr
Автор

It's just not enough to get the state. Did you find a way to also update this into dsl.

arungeorge
Автор

Awesome explanation bro, If some one add manually how to get in statefile bro can you please explain it

ankireddy
Автор

Sir, could u please explain what happens when multiple developers try to edit terraform resources at same time

yogithakakarla