Skip to content
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

get error on terraform apply #5

Open
oleksandr-r-q opened this issue May 28, 2021 · 1 comment
Open

get error on terraform apply #5

oleksandr-r-q opened this issue May 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@oleksandr-r-q
Copy link

oleksandr-r-q commented May 28, 2021

Hello team I try to run your example
and get error:
`serverless_deployment.example: Still creating... [2m40s elapsed]
serverless_deployment.example: Still creating... [2m50s elapsed]

│ Error: MissingRegion: could not find region configuration

│ with serverless_deployment.example,
│ on example-test.tf line 8, in resource "serverless_deployment" "example":
│ 8: resource "serverless_deployment" "example" {
│`

@oleksandr-r-q
Copy link
Author

oleksandr-r-q commented May 28, 2021

I use region in tf config
`
provider "aws" {
region = var.aws_region
}

variable "aws_region" {
type = string
default = "us-west-2"
}
[
env = {
"AWS_REGION": data.aws_region.current.name,
"FOO": "BAR",
}
}
`

and also added to serverless.yaml
`provider:
name: aws
region: us-west-2

`

@demeyerthom demeyerthom added the triage Needs triage label Aug 6, 2023
@demeyerthom demeyerthom added bug Something isn't working and removed triage Needs triage labels Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants