Hi, noob here. I'm evaluating pulumi for work. the...
# getting-started
m
Hi, noob here. I'm evaluating pulumi for work. the setup utilizes pulumi with github actions. env is set up globally
Copy code
env:
            PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
            PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
and the pulumi preview step is as below
Copy code
- name: Run pulumi preview
              uses: pulumi/actions@v3
              with:
                  command: preview
                  stack-name: dev
My github action fails with the error
Copy code
Configured range: ^3
Matched version: v3.6.0
Install destination is /home/runner/.pulumi
Successfully deleted pre-existing /home/runner/.pulumi/bin
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/.pulumi -f /home/runner/work/_temp/7870f4e2-f331-4e31-b9d4-c532297696f3
Error: code: 255
 stdout: 
 stderr: error: no stack named 'dev' found

 err?:
👀 1
I've tried using both the service and
cloud-url
with an S3 bucket.
I've also created a
Pulumu.dev.yaml
file that is committed to the repo
I'm not sure I understand the error.
running
poetry run pulumi preview --stack dev
on my laptop gives me the output
Copy code
Previewing update (dev):
     Type                 Name                           Plan       Info
 +   pulumi:pulumi:Stack  Accrue AWS Infrastructure-dev  create     1 message

Diagnostics:
  pulumi:pulumi:Stack (Accrue AWS Infrastructure-dev):
    Running setup
I've at this time not run
pulumi up
at this point so far - I've not ventured into writing code to set up the services. which I'm about to do next
I got past this particular error, I "logged" in utilizing a local file system backend many months ago and didn't realize that
pulumi
was quietly utilizing that backend.
b
hey! glad you got this worked out!