sparse-intern-71089
12/13/2022, 1:30 PMmany-telephone-49025
12/13/2022, 2:43 PMmany-telephone-49025
12/13/2022, 2:44 PMmany-telephone-49025
12/13/2022, 2:45 PMmany-telephone-49025
12/13/2022, 2:46 PMquaint-salesclerk-22166
12/13/2022, 2:46 PMmany-telephone-49025
12/13/2022, 2:47 PMquaint-salesclerk-22166
12/13/2022, 2:48 PMquaint-salesclerk-22166
12/13/2022, 2:48 PMDiagnostics:
pulumi:pulumi:Stack (jandroav/jarvis/jandro)
warning: Attempting to deploy or update resources with 4 pending operations from previous deployment.
* urn:pulumi:jandro::jarvis::azure-native:sql:ManagedInstance::jarvis-mssql-teams-app, interrupted while creating
* urn:pulumi:jandro::jarvis::azure-native:sql:ManagedInstance::jarvis-mssql-teams-app, interrupted while creating
* urn:pulumi:jandro::jarvis::azure-native:sql:ManagedInstance::jarvis-mssql-teams-app, interrupted while creating
* urn:pulumi:jandro::jarvis::azure-native:sql:ManagedInstance::jarvis-mssql-teams-app, interrupted while creating
These resources are in an unknown state because the Pulumi CLI was interrupted while waiting for changes to these resources to complete. You should confirm whether or not the operations listed completed successfully by checking the state of the appropriate provider. For example, if you are using AWS, you can confirm using the AWS Console.
Once you have confirmed the status of the interrupted operations, you can repair your stack using `pulumi refresh` which will refresh the state from the provider you are using and clear the pending operations if there are any.
Note that `pulumi refresh` will need to be run interactively to clear pending CREATE operations.
quaint-salesclerk-22166
12/13/2022, 2:48 PMquaint-salesclerk-22166
12/13/2022, 2:50 PMmany-telephone-49025
12/13/2022, 2:52 PMquaint-salesclerk-22166
12/13/2022, 2:53 PMmany-telephone-49025
12/13/2022, 2:55 PMquaint-salesclerk-22166
12/13/2022, 2:55 PMjarvis db create
and then you need to be able to run other stuff. thats why i thought it could be nice to let the pulumi service handle it in a async wayquaint-salesclerk-22166
12/13/2022, 2:56 PMquaint-salesclerk-22166
12/13/2022, 2:56 PMgo func() {
_, err := executePulumiFunction(cm.AZURE, deployManagedInstanceFunc, destroy)
if err != nil {
log.Error(err)
}
}()
quaint-salesclerk-22166
12/13/2022, 2:59 PMquaint-salesclerk-22166
12/13/2022, 3:00 PMmany-telephone-49025
12/13/2022, 3:01 PMquaint-salesclerk-22166
12/13/2022, 3:01 PMechoing-dinner-19531
12/13/2022, 3:17 PMthe cli ends cause I am executing the pulumi function in a goroutineYou should be able to keep the CLI alive with waitgroups: https://gobyexample.com/waitgroups But it does sounds like the deployment API is more what you want here, that will let our server carry on running the program and waiting for the resources to be created.
many-telephone-49025
12/13/2022, 3:19 PMquaint-salesclerk-22166
12/13/2022, 3:31 PMmany-telephone-49025
12/13/2022, 3:33 PMmany-telephone-49025
12/13/2022, 5:35 PMvar wg sync.WaitGroup
But then your CLI will wait again for completion.quaint-salesclerk-22166
12/14/2022, 7:07 AM