# To cover three or more VPCs, add VPC and subnet parameters as needed.
# Region where the instance is deployed
# ID of the VPC to be covered
vpcid = "vpc-mjaw2apyzx8g5smt1a5d****"
# ID of the subnet associated with the VPC to be covered
subid = "subnet-rr10v9czmlfkv0x58yy****"
vpcid2 = "vpc-rs5zapo0osu8v0x58o9****"
subid2 = "subnet-13fw7xf83jim83n6nu4ce****"
# To cover three or more VPCs, configure the corresponding VPC IDs and subnet IDs as needed.
# vpcid3 = "vpc-13fw35b36rc3k3n6nu5ft****"
# subid3 = "subnet-mj7fzyemvhfk5smt1be1****"
# AK of the BytePlus account
# SK of the BytePlus account
region = var.common.region
resource "volcengine_cr_vpc_endpoint" "label" {
registry = var.common.registry
vpc_id = var.common.vpcid
subnet_id = var.common.subid
vpc_id = var.common.vpcid2
subnet_id = var.common.subid2
# To cover three or more VPCs, add more parameters as needed.
# vpc_id = var.common.vpcid3
# subnet_id = var.common.subid3