File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/cdktf-cli/src/bin/cmds Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,12 @@ class Command extends BaseCommand {
4848 required : false ,
4949 desc : "Skip synthesis of the application, assume the synthesized Terraform code is already present and up to date" ,
5050 } )
51+ . option ( "skip-provider-lock" , {
52+ type : "boolean" ,
53+ default : false ,
54+ required : false ,
55+ desc : "Block `terraform provider lock` from being run for any reason. Warning: This may cause issues when used with HCP Terraform" ,
56+ } )
5157 . showHelpOnFail ( true ) ;
5258
5359 public async handleCommand ( argv : any ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type OutputConfig = {
1616 onOutputsRetrieved : ( outputs : NestedTerraformOutputs ) => void ;
1717 outputsPath ?: string ;
1818 skipSynth ?: boolean ;
19+ skipProviderLock ?: boolean ;
1920} ;
2021
2122export const Output = ( {
@@ -25,13 +26,15 @@ export const Output = ({
2526 onOutputsRetrieved,
2627 outputsPath,
2728 skipSynth,
29+ skipProviderLock,
2830} : OutputConfig ) : React . ReactElement => {
2931 const { status, logEntries, returnValue } = useCdktfProject (
3032 { outDir, synthCommand } ,
3133 async ( project ) => {
3234 const outputs = await project . fetchOutputs ( {
3335 stackNames : targetStacks ,
3436 skipSynth,
37+ skipProviderLock,
3538 } ) ;
3639 onOutputsRetrieved ( outputs ) ;
3740 return outputs ;
You can’t perform that action at this time.
0 commit comments