-
- Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
If you have been using this VPC module and started from 2.2.2021 started seeing the error: Error: multiple VPC Endpoint Services matched; use additional constraints to reduce matches to a single VPC Endpoint Service, here are the available solutions depending on the versions you use:
Terraform 0.12, 0.13, 0.14:
- Upgrade Terraform AWS provider to be
3.10.0(see changelog for the release) or newer:
terraform { required_providers { aws = { source = "hashicorp/aws" version = ">= 3.10" } } }- Upgrade version of the module to be
2.70.0(or newer):
module "vpc" { source = "terraform-aws-modules/vpc/aws" version = "2.70.0" # ... }- Alternatively, if you can't upgrade Terraform AWS provider as described in the first point, you can use this module version
2.69.0:
module "vpc" { source = "terraform-aws-modules/vpc/aws" version = "2.69.0" # ... }Terraform 0.11
You can upgrade your configuration to use v1.73.0 to get the specified issue fixed on Terraform 0.11 (commit):
module "vpc" { source = "terraform-aws-modules/vpc/aws" version = "1.73.0" # ... }Notes
If you want to manage the VPC endpoint for S3 outside of this module (when using Terraform 0.11, for eg), you can set enable_s3_endpoint = false and create resources aws_vpc_endpoint externally.
References:
Metadata
Metadata
Assignees
Labels
No labels