Hi,
When passing variables:
enable_s3_endpoint = true
s3_endpoint_type = "Interface"
The module doesn't pass any security group to the vpc_endpoint resource, and thus Terraform fails with:
module.vpc.aws_vpc_endpoint.s3[0]: Creating...
Error: An Interface VPC Endpoint must always have at least one Security Group
It doesn't seem that s3_endpoint_type=Interface is actually supported, we would need variables (for the security group id) and outputs (network interface ids)
Thanks!