You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are trying to create VPC endpoint in china using terraform-aws-modules/vpc/aws//modules/vpc-endpoints but we are getting error as reading EC2 VPC Endpoint Services: couldn't find resource
Note: for us-east-1, eu-west-1 we are able to create but for cn-northwest-1 and cn-north-1 we are unable to create
Below is the Error details
Error: reading EC2 VPC Endpoint Services: couldn't find resource
│
│ with module.primary_vpc.module.vpc_endpoints.module.vpc_interface_endpoints.data.aws_vpc_endpoint_service.this["lambda"],
│ on .terraform\modules\primary_vpc.vpc_endpoints.vpc_interface_endpoints\modules\vpc-endpoints\main.tf line 11, in data "aws_vpc_endpoint_service" "this":
│ 11: data "aws_vpc_endpoint_service" "this" {
│
╵
╷
│ Error: reading EC2 VPC Endpoint Services: couldn't find resource
│
│ with module.primary_vpc.module.vpc_endpoints.module.vpc_interface_endpoints.data.aws_vpc_endpoint_service.this["ecr.api"],
│ on .terraform\modules\primary_vpc.vpc_endpoints.vpc_interface_endpoints\modules\vpc-endpoints\main.tf line 11, in data "aws_vpc_endpoint_service" "this":
│ 11: data "aws_vpc_endpoint_service" "this" {
│ Error: reading EC2 VPC Endpoint Services: couldn't find resource
│
│ with module.primary_vpc.module.vpc_endpoints.module.vpc_interface_endpoints.data.aws_vpc_endpoint_service.this["ec2"],
│ on .terraform\modules\primary_vpc.vpc_endpoints.vpc_interface_endpoints\modules\vpc-endpoints\main.tf line 11, in data "aws_vpc_endpoint_service" "this":
│ 11: data "aws_vpc_endpoint_service" "this" {
If your request is for a new feature, please use the Feature request template.
[] ✋ I have searched the open/closed issues and my issue is not listed.
Description
we are trying to create VPC endpoint in china using
terraform-aws-modules/vpc/aws//modules/vpc-endpoints
but we are getting error as reading EC2 VPC Endpoint Services: couldn't find resourceNote: for us-east-1, eu-west-1 we are able to create but for cn-northwest-1 and cn-north-1 we are unable to create
Below is the Error details
If your request is for a new feature, please use the
Feature request
template.Versions
Module version [Required]: 5.13.0
Terraform version: v1.7.5
Reproduction Code [Required]
Steps to reproduce the behavior:
terraform plan
Expected behavior
terraform plan should not return error and resources should be created once terraform apply is executed
Actual behavior
Getting following error for ec2, lambda, sqs, ecr.dkr, ecr.api
reading EC2 VPC Endpoint Services: couldn't find resource*
Terminal Output Screenshot(s)
Additional context
Note: for s3 and DynomoDB we didn't face issue
on evaluation we found that s3 and dynomodb are working because
s3 and dynomodb supports service name as
Below for both service name we are getting response
But for ec2,sqs,ecr.dkr service name with com.amazonaws.cn-northwest-1.ec2 not supported
but with cn.com.amazonaws.cn-northwest-1.ec2 we get response as shown below
The text was updated successfully, but these errors were encountered: