8. Target Resources
We can target to deploy or delete individual resources in our config file.
We can use the
-targetflag to specify the name of the resourceE.g
terraform destory -target aws_instance.web-server-instanceis used to only destroy the ec2 instance from the whole deployment
Last updated