Any way of dumping raw ARM API call data while per...
# azure
h
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
c
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
Copy code
pulumi up --yes --skip-preview -v=9 --debug --logflow
👍 1
h
thanks! this helps, but i see this in the output:
Copy code
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
Can you show me what you ran?