snapsheet/cdktf-diff

Execute cdktf diff, parse STDOUT/STDERR output, and return outputs based on the outcomes.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGITHUB_TOKEN to use GitHub API. Simply specify secrets.GITHUB_TOKEN.yes
job_namejobs.<job-id>.name of this workflow job. This is needed to get the job ID via query.yes
output_filenameName of the file this jobs outputs will be saved into.yes
refThe ref (branch or sha) to use with the diff.yes
stackFull name of the CDKTF stack to diff.yes
stub_output_fileWhen present, no Terraform will execute. The output of this action will be substituted with the output contained in this file. This is useful for cases when you want to test but don't have authentication set up.
terraform_versionThe version of Terraform to use1.8.0
working_directoryWorking directory path that contains your cdktf code../
skip_synthSkip synthesis of the application, assume the synthesized Terraform code is already present and up to datefalse
artifact_nameWhen given, attempt to download the given artifact contents into this working directory.
namedescription
html_urlDirect link to this job, which shows the full execution output.
job_idID of this job
result_codeSimilar to exitcode behavior for Terraform, not yet supported by CDKTF. 0 = Succeeded with empty diff (no changes), 1 = Error, 2 = Succeeded with non-empty diff (changes present)
stackFull name of the CDKTF stack used for the diff.
summarySingle string of output to summarize the results.