Skip to content

Commit

Permalink
Updated list of GCP regions that can't supports f1-micro
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Feb 3, 2023
1 parent 81dd084 commit cbf3a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gcp/compute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const DEFAULT_IMAGE_FAMILY_PROJECT_NAME = "ubuntu-os-cloud"
const DEFAULT_IMAGE_FAMILY_NAME = "family/ubuntu-1804-lts"

// Regions that don't support running f1-micro instances
var RegionsToAvoid = []string{"asia-east2", "southamerica-west1", "europe-west8", "europe-southwest1"}
var RegionsToAvoid = []string{"asia-east2", "southamerica-west1", "europe-west8", "europe-southwest1", "us-east5-a"}

func TestGetPublicIpOfInstance(t *testing.T) {
t.Parallel()
Expand Down
2 changes: 1 addition & 1 deletion test/gcp/packer_gcp_basic_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var DefaultRetryablePackerErrors = map[string]string{
var DefaultTimeBetweenPackerRetries = 15 * time.Second

// Regions that don't support n1-standard-1 instances
var RegionsToAvoid = []string{"asia-east2", "southamerica-west1", "europe-west8", "europe-southwest1"}
var RegionsToAvoid = []string{"asia-east2", "southamerica-west1", "europe-west8", "europe-southwest1", "us-east5-a"}

const DefaultMaxPackerRetries = 3

Expand Down

0 comments on commit cbf3a03

Please sign in to comment.