flat-sunset-12668
08/29/2023, 9:04 PMCommandError: code: -2
stdout:
stderr: Command failed with exit code 255: pulumi stack select --stack dev --non-interactive
error: If you're using the --stack flag, pass the fully qualified name (org/project/stack)
with the following code:
name: View Infra Changes
on: [push]
env:
PYTHON_VERSION: "3.11.4"
jobs:
Preview:
name: Pulumi Preview
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: ${{ secrets.AWS_REGION }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Pulumi Preview
uses: pulumi/actions@v4
with:
command: preview
stack-name: dev
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
I am attempting to access dev from my individual account (not an org). Even including the project name in the "stack-name" variable, I get the same error.
Does anyone have insight to how I can resolve this error?proud-twilight-52651
08/30/2023, 3:22 AMflat-sunset-12668
08/30/2023, 4:52 PM