Closed bacek closed 2 years ago
LGTM.
Better would be that
contextTagsWithName
should sanitise the strings passed in.It needs to be an identifier: https://www.terraform.io/docs/language/syntax/configuration.html#identifiers
Actually all "names" should be sanitised. Check the second argument to AR.createVpcEndpoint
.
Apparently Endpoint services can contain '.' in the name. For example "ecr.dkp". Which produces incorrect terraform name if used as is.