00:00hello guys welcome to naresha technologies my name is raham sheikh and in this video i'm going to
00:04talk about terraform target command so whenever you give terraform destroy command by default it
00:09is going to remove all the resource in state 5 but i have a specific requirement out of 10 servers
00:16i want to remove only one server in that case terraform destroy is not going to help you file
00:21why because if you give terraform destroy that is going to destroy all the 10 servers but let's say
00:27i want to destroy a specific server in that case add the flag called target the moment if i give
00:32terraform destroy target aws instance with block name 1 with a index number 3 so that is going to
00:39destroy the fourth server because the index number of a fourth server is going to be third so
00:44automatically terraform is going to remove the server number for itself thank you
Comments