alchemy-aws-modules / terraform-aws-vpc

Module to create a VPC in AWS.
MIT License
3 stars 9 forks source link

Error using module #1

Open adriano-fonseca opened 5 years ago

adriano-fonseca commented 5 years ago

Error: module.vpc.data.aws_ami.nat_ami: "owners": required field is not set

aloisbarreras commented 5 years ago

Hey @adriano-fonseca, I ran into that error as well. The AWS provider recently released a 2.0 version which has some breaking changes. If you set your provider to be version 1.x it should work.

provider "aws" {
  # ... other configuration ...

  version = "~> 1.60"
}
adriano-fonseca commented 5 years ago

@aloisbarreras thanks for the answer, this was because owners is required now. I sent a PR #2 solving the issue, basically adding this to the module. BTW, very nice article on Medium regarding installing Gitlab EE in HA fashion. I learned a lot with you in that post. I am looking forward to the next parts of it. Thanks for share.