:wave::skin-tone-2: hey folks, hope everyone is do...
# getting-started
m
👋🏻 hey folks, hope everyone is doing well. Can somebody please help me figure out how to use
config-map
with Pulumi GitHub actions? I have the following code:
Copy code
const config = new pulumi.Config('foo');
const imageTag = config.get('bar') || 'default value'; // fallback to current
in my stack. And I have the following
config-map
in my workflow:
Copy code
- name: Deploy with Pulumi
        uses: pulumi/actions@v6
        with:
          command: up
          refresh: true
          upsert: true
          stack-name: dev
          cloud-url: ${{ vars.PULUMI_BACKEND_URI }}
          secrets-provider: ${{ vars.PULUMI_SECRETS_PROVIDER }}
          comment-on-summary: true
          config-map: |
            {
              "foo:bar": {
                "value": "not default value"
              }
            }