-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration: allow continuous synth applications #3205
Comments
Hi @froazin 👋 Interesting idea! You should be able to achieve such a warning on your own by supplying |
This is one of those times where you facepalm in slow motion 🤣 Thanks @ansgarm I will do that! |
Closing this as @ansgarm's suggestion makes much more sense |
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Hi!
I think it would be helpful if the cdktf.json file did not enforce the "app" field, but instead returned something like "this application does not support synthesizing via the cli, to use cdktf synth, add an app field to cdktf.json" or something similar.
I'm working on a small PoC project whereby I'm using CDKTF running behind a rest api: the point of which is to synthesize new TF configurations depending on the args supplied via rest call and drop the synthed config into a directory where a worker process then picks up the config, deploys it and checks/corrects drift with terraform-exec. The intention is that this can sit behind an internal developer platform allowing users to quickly and easily deploy applications from a GUI and the likes with little-to-no effort.
Given this is a rest api, the app field here is misleading to future maintainers or users of the project. It's something we can just solve with documentation for sure - but the above would effectively serve as a safety catch :)
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: