Skip to content

Commit 3a1b07f

Browse files
Shorten service account and VPC connector names
1 parent d8ab73d commit 3a1b07f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

terraform/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ resource "google_compute_subnetwork" "subnet" {
5050

5151
# VPC connector for Cloud Run to access Redis
5252
resource "google_vpc_access_connector" "connector" {
53-
name = "${var.project_name}-connector"
53+
name = "pe-api-v2-alpha-vpc"
5454
region = var.region
5555
network = google_compute_network.vpc.name
5656
ip_cidr_range = "10.8.0.0/28"
@@ -83,7 +83,7 @@ resource "google_artifact_registry_repository" "repo" {
8383

8484
# Service account for Cloud Run services
8585
resource "google_service_account" "cloudrun" {
86-
account_id = "${var.project_name}-cloudrun"
86+
account_id = "pe-api-v2-alpha-run"
8787
display_name = "Cloud Run Service Account"
8888
}
8989

0 commit comments

Comments
 (0)