Skip to content

🎥 Make videos programmatically with React

improve terraform state err message

Matt McGillivray320b06c7f0bd
diff --git a/packages/cloudrun/install.mjs b/packages/cloudrun/install.mjs
index 4f863060dc..2143f91141 100644
--- a/packages/cloudrun/install.mjs
+++ b/packages/cloudrun/install.mjs
@@ -50,7 +50,7 @@ if (dirFiles.includes('.tfstate')) {
if (tfstateProject === undefined) {
execSync(
- 'echo "\u001b[31;1m\nTerraform state file is not from a Remotion project.\nChange directory, or delete all existing terraform files within the current directory, before trying again.\u001b[0m"',
+ 'echo "\u001b[31;1m\nTerraform state file is not from a Remotion project.\nChange directory, or delete all existing terraform files within the current directory, before trying again.\nTo delete all terraform files, run: rm -rf .terraform terraform.tfstate terraform.tfstate.backup .terraform.lock.hcl\u001b[0m"',
{stdio: 'inherit'}
);
process.exit(1);