Skip to content

Defining provider for us-east-1 - "Warning: Provider aws is undefined" #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aingham opened this issue Jun 23, 2021 · 1 comment
Open

Comments

@aingham
Copy link

aingham commented Jun 23, 2021

If I uncomment the 'provider' related lines, as my default region isn't us-east-1, then I get the following warning (when using Terraform v0.15.5):

Warning: Provider aws is undefined

@builtinnya
Copy link
Owner

Did you uncomment aws.us-east-1 definition as described in README?

# If the parent module provider region is not us-east-1, define provider for us-east-1.
#
#provider "aws" {
#  alias  = "us-east-1"
#  region = "us-east-1"
#}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants