pwillis-els / terraformsh

A wrapper for Terraform in Bash
MIT License
66 stars 12 forks source link

When using terraform cloud remote backend it fails #2

Closed AMKamel closed 3 years ago

AMKamel commented 3 years ago

Hi there,

I am trying to deploy using terraform cloud and when doning terraformsh plan apply I get an error that the remote backend can't save plan file

│ Error: Saving a generated plan is currently not supported
│ 
│ The "remote" backend does not support saving the generated execution plan locally at this time.
╵

I tried with terraformsh apply -P and it also didn't work because of missing plan file

│ Error: Failed to load "*/tf.f6d6015101.plan" as a plan file
│ 
│ Error: stat */tf.f6d6015101.plan: no such file or directory
╵

Is there any workaround this?

AMKamel commented 3 years ago

Resolved by using terraformsh -P apply instead of terraformsh apply -P image