cool-tomato-73587
08/01/2025, 8:45 PMerror: could not create secrets manager for new stack: incorrect passphrase
name: provision infrastructure
on:
push:
branches:
- main
- dev
paths:
- 'infrastructure/**'
- '!infrastructure/shared/**'
pull_request:
branches:
- main
- dev
paths:
- 'infrastructure/**'
- '!infrastructure/shared/**'
workflow_dispatch:
jobs:
provision:
if: github.event_name == 'push'
name: Pulumi Up
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./infrastructure
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --filter ./infrastructure
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.PULUMI_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PULUMI_AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Pulumi Up
uses: pulumi/actions@v6
with:
command: up
stack-name: organization/project/${{ github.ref_name }}
cloud-url: ${{ secrets.PULUMI_BACKEND_URL }}
upsert: true
work-dir: ./infrastructure
env:
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}