grem11n / terraform-aws-vpc-peering

Terraform module to setup VPC peering connection
https://registry.terraform.io/modules/grem11n/vpc-peering/aws/latest
Apache License 2.0
126 stars 91 forks source link

[BUG] Not working on TF AWS Provider 4.x #85

Closed ivanmartos closed 2 years ago

ivanmartos commented 2 years ago

Describe the bug

Current state of module does not work with TF AWS provider 4.X

Terraform version: What Terraform version do you use? TF - 1.0.11 TF AWS provider - 4.2.0 Module version: What module version do you use? 4.0.1

Error message:

 Could not retrieve the list of available versions for provider hashicorp/aws:

Terraform code that produces the error:

https://github.com/grem11n/terraform-aws-vpc-peering/blob/master/provider.tf#L5

Additional context Add any other context about the problem here.

grem11n commented 2 years ago

Hello, @ivanmartos , I will be able to take a look at it after the war. Thank you for understanding!

ivanmartos commented 2 years ago

oh crap sorry man, good luck and everything

I will create a PR in the meantime so you can focus on important stuff

grem11n commented 2 years ago

Hello, @ivanmartos ,

Linked PR fixed this issue. I also updated the tests and I can see in the output that AWS Provider version > 4.x.x was used.

Closing this issue now