We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e41ecc commit 170c5f7Copy full SHA for 170c5f7
main.py
@@ -366,7 +366,9 @@ def generate_terraform(appName):
366
app.synth()
367
print('Done \033[1mAvailable in cdktf.out directory\033[0m ✅')
368
print(' - Deleting .terraform symlink... ', end='')
369
- os.remove(os.path.join(os.getcwd(), 'cdktf.out', '.terraform'))
+ symlinkPath = os.path.join(os.getcwd(), 'cdktf.out', '.terraform')
370
+ if os.path.exists(symlinkPath):
371
+ os.remove(symlinkPath)
372
print('Done ✅')
373
print(
374
f' - You may edit \033[1mcdk.tf.json\033[0m and run \033[1mterraform init, \
0 commit comments