Open scipe opened 6 months ago
Workaround: create vpc manually, import it and add location to lifecycle ignore:
resource "twc_vpc" "ru1" {
name = "${var.product_name}-${var.environment}-${var.location}-vpc-main"
description = "Main VPC in ${var.location} location. Managed by Terraform"
subnet_v4 = "192.168.0.0/24"
location = var.location
lifecycle {
ignore_changes = [location]
}
}
I have same issue, still not fixed
Error: expected location to be one of [ru-1 pl-1], got eu-1