Skip to content
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

Can i just compile without deploying? #10

Open
schosterbarak opened this issue Jun 28, 2023 · 3 comments
Open

Can i just compile without deploying? #10

schosterbarak opened this issue Jun 28, 2023 · 3 comments

Comments

@schosterbarak
Copy link

One example I can think of is

  1. Compile to cdktf
  2. Scan with policy as code tool (checkov/OPA/KICKS/ other)
  3. If scan step is passing then deploy with wing
@skorfmann
Copy link
Contributor

Yes, good point - that's missing right now. There should probably be the following actions:

  • compile
  • test
  • destroy

Haven't tried it yet, but potentially the validate hook could be used for this as well without an explicit Github Action step.

@schosterbarak
Copy link
Author

where are the compiled artifacts saved? whats the directory path?

@Chriscbr
Copy link
Contributor

@schosterbarak The artifacts are saved to the target directory next to your code. For example, if you compile an app named "my-app" to the "tf-aws" target, your deployment artifacts will be inside target/example.tfaws/. I'll take note to add this to our docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants