Skip to content

issue #582 does not solve the problem with multiple VPC endpoints matched on Terraform 0.12 and aws provider 2.70 #585

@dgonzalez

Description

@dgonzalez

In the issue it is recommended for people who cannot update the aws provider to version 3.10 to use the release 2.69.0 of terraform-aws-vpc.

I am in such situation (upgrading the provider is not trivial, we are working on it but will take us days if not a couple of weeks) and when I try to plan with the 2.69.0 I get the following error:

Error: "service_type": this field cannot be set

  on .terraform/modules/this.vpc/vpc-endpoints.tf line 4, in data "aws_vpc_endpoint_service" "s3":
   4: data "aws_vpc_endpoint_service" "s3" {



Error: "service_type": this field cannot be set

  on .terraform/modules/this.vpc/vpc-endpoints.tf line 45, in data "aws_vpc_endpoint_service" "dynamodb":
  45: data "aws_vpc_endpoint_service" "dynamodb" {

This is using the AWS provider 2.70.0. Am I wrong or it is not possible to use this module with a provider below 3.10 after AWS released the S3 PrivateLink interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions