https://pulumi.com logo
Title
b

bored-hamburger-89415

05/12/2021, 12:42 PM
What am I doing wrong?
❯ pulumi config set aws:region us-west-2
❯ pulumi config get aws:region
    us-west-2
❯ pulumi up
error: 1 error occurred:
    	* missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
    Set a value using the command `pulumi config set aws:region <value>`.
c

cool-fireman-90027

05/12/2021, 3:18 PM
Can you tell us how you started? I tried the following:
mkdir temp
cd temp
pulumi new aws-typescript -y   OR pulumi new aws-python -y  # depends on your language
pulumi config set aws:region us-west-2
pulumi up
gave:
Previewing update (dev)

View Live: <https://app.pulumi.com/myuser/temp/dev/previews/88b91ead-2ec5-44cd-9f16-dc8c8303b413>

     Type                 Name       Plan
 +   pulumi:pulumi:Stack  temp-dev   create
 +   └─ aws:s3:Bucket     my-bucket  create

Resources:
    + 2 to create

Do you want to perform this update?  [Use arrows to move, enter to select, type to filter]
  yes
> no
  details
b

best-nest-62071

05/14/2021, 11:46 PM
@bored-hamburger-89415 Did you ever get this working?
b

bored-hamburger-89415

05/15/2021, 1:19 AM
Thanks for following up. I did not. Interestingly, it runs fine in CI. I've essentially just
pulumi new
-ed into a k8s typescript project, copied from the crosswalk intro guide and got that error locally.
I got a bit distracted, but I'll be working on that project over the weekend. I'll follow up with a gh issue if I figure out what the issue is.
I'm sure it's related to my endless amount of needless cli tooling 😅