| What are uses of Terraform CLI and define the same basic CLI commands?
The term Terraform CLI (Command Line Interface) is used to manage infrastructure and interact with Terraform state, providers, configuration files, etc.
Below are the some of basic CLI commands:-
(1)terraform init:- Well, this commands prepares your working directory for other commands.
(2)terraform destroy:-Well, this will destroys the previously created infrastructure.
(3)terraform validate:-Well, this will check whether the configuration is valid or not.
(4)terraform apply:-Well, this will mainly used to creates or updates the infrastructure.
(5)terraform plan:-Well, this will use to shows changes needed by the current configuration. | | |