Error: region not found for name: ap-southeast-3
Closed this issue · 3 comments
markandersontrocme commented
Description
Tried using the module, copied the example from here. When running terraform plan
I get this error
│ Error: region not found for name: ap-southeast-3
│
│ with module.eks_cluster.module.pricing.data.aws_region.one["ap-southeast-3"],
│ on .terraform/modules/eks_cluster.pricing/modules/pricing/regions.tf line 24, in data "aws_region" "one":
│ 24: data "aws_region" "one" {
│
╵
Versions
- Terraform: 1.1.1 (also tried with 0.15.4)
- Provider(s):
- provider registry.terraform.io/hashicorp/aws v3.69.0
- provider registry.terraform.io/terraform-aws-modules/http v2.4.1
- Module:
Reproduction
Steps to reproduce the behavior:
- use the module as shown here
- run
terraform plan
Code Snippet to Reproduce
module "pricing" {
source = "terraform-aws-modules/pricing/aws//modules/pricing"
version = "1.2.0"
debug_output = true
resources = {
"aws_instance.this" = {
instanceType = "t3.large"
location = "us-east-1"
}
}
}
Expected behavior
Looking to pricing_per_resources
Actual behavior
Failed with an error
Terminal Output Screenshot(s)
Additional context
I fixed it locally by manually editing the module, I will provide a PR with the change
antonbabenko commented
This issue has been resolved in version 1.3.0 🎉
antonbabenko commented
Thanks @markandersontrocme for opening an issue and the PR!
github-actions commented
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.