Pulumi gives invalid aws:region error when deploying to AWS

620 views Asked by At

I am having a tinker with Pulumi having fallen out of love with Terraform. However, when following the gettins started guide, I'm receiving the following error when running pulumi up

Diagnostics:
  aws:s3:Bucket (my-bucket):
    error: 1 error occurred:
        * Invalid AWS Region:

The pulumi.yaml file contains only this:

    config:
  aws:region: eu-west-1

Does anyone get this issue or does anyone know how to resolve it?

Thanks in advance,

Angus

1

There are 1 answers

3
Mikhail Shilkov On BEST ANSWER

Update: this problem was specific to the 3.6 version of Pulumi AWS provider. Version 3.6.1 and newer should work fine.

Original answer: This appears to be a bug in the latest version of the AWS provider. Please rollback to version 3.5 of the pulumi/aws npm/py-pi/Go/NuGet package while we are working on a fix.