chime / terraform-aws-alternat

High availability implementation of AWS NAT instances.
MIT License
1.08k stars 65 forks source link

Declare versions for provider #83

Closed trpalmer closed 8 months ago

trpalmer commented 9 months ago

Declare versions to prevent the following error if you want to set a provider for regions using alterNAT. Using the default versions for the current terraform-aws-vpc module

module "test" {
  source    = "git::https://github.com/1debit/alternat.git//modules/terraform-aws-alternat?ref=v0.4.6"
  providers = { aws = aws.us-east-1 }
  ....
There is no explicit declaration for local provider name "aws" in module.test, so Terraform is assuming you mean to pass a
configuration for "hashicorp/aws".