I am working on chapter 3 the section about Isolating workspaces on page 111 and 112, it asks to run the command
terraform workspace new example1
Which everything runs as shown in the book, next the book asks to run command
terraform plan
This is the part that I get an error which looks like this
Error: No configuration files Plan requires configuration to be present. Planning without a configuration would mark everything for destruction, which is normally not what is desired. If you would like to destroy everything, run plan with the -destroy option. Otherwise, create a Terraform configuration file (.tf file) and try again.
Is not indicated in the book, but should I just destroy previous code deployed? or am I doing something wrong?
I am working on chapter 3 the section about Isolating workspaces on page 111 and 112, it asks to run the command
terraform workspace new example1
Which everything runs as shown in the book, next the book asks to run command
terraform plan
This is the part that I get an error which looks like thisError: No configuration files Plan requires configuration to be present. Planning without a configuration would mark everything for destruction, which is normally not what is desired. If you would like to destroy everything, run plan with the -destroy option. Otherwise, create a Terraform configuration file (.tf file) and try again.
Is not indicated in the book, but should I just destroy previous code deployed? or am I doing something wrong?
Thank you,