https://pulumi.com logo
Title
h

handsome-state-59775

09/16/2021, 10:59 AM
Any way of dumping raw ARM API call data while performing a stack.up (I'm using automation API)? I'm in conversation with Azure support and they want this to help debug an issue I'm facing with public static IP provisioning.
b

billowy-army-68599

09/16/2021, 11:26 AM
c

crooked-planet-47987

09/17/2021, 6:49 AM
If you want to see the REST API calls, which Pulumi is sending to Azure, you need to add --logflow as an argument. The full set of arguments for logging/debugging looks like this
pulumi up --yes --skip-preview -v=9 --debug --logflow
👍 1
h

handsome-state-59775

09/20/2021, 6:16 AM
thanks! this helps, but i see this in the output:
pulumi:pulumi:Stack stackname  flag provided but not defined: -v
    pulumi:pulumi:Stack stackname  Usage of tf-provider-flags:
    pulumi:pulumi:Stack stackname    -get-provider-info
    pulumi:pulumi:Stack stackname      	dump provider info as JSON to stdout
    pulumi:pulumi:Stack stackname    -version
    pulumi:pulumi:Stack stackname      	get built provider version
i have a feeling that flags aren't being parsed correctly. possibly related to this: https://github.com/pulumi/pulumi/issues/968?
i'm using pulumi version v3.12.0
b

billowy-army-68599

09/20/2021, 2:50 PM
Can you show me what you ran?