Hi everyone. I have a simple c# code to deploy a r...
# getting-started
m
Hi everyone. I have a simple c# code to deploy a resource group to azure. When I run it locally it works fine (I login to azure locally beforehand). When I run it in the pipeline, azure login, pulumi login finishes successfully. but at the pulumi up step I get this error:
"Unhandled exception. System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0."
This is my pulumi action in the workflow:
Copy code
- name: Pulumi Up
      uses: pulumi/actions@v3
      with:
        command: up
        stack-name: value
        cloud-url: value
      env:
        PULUMI_CONFIG_PASSPHRASE: value
        AZURE_STORAGE_ACCOUNT: value
        AZURE_STORAGE_KEY: value
        AZURE_CLIENT_ID: value
        AZURE_SUBSCRIPTION_ID: value
        AZURE_TENANT_ID: value
I couldn't find anything about that error on pulumi website or on the internet.