Skip to content

Commit

Permalink
Remove not Fargate-enabled regions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsan92 committed Mar 12, 2019
1 parent 232dff6 commit f8fb760
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import (
func TestBasicExample(t *testing.T) {
expectedName := fmt.Sprintf("fargate-%s", strings.ToLower(random.UniqueId()))

// Pick a random AWS region to test in. This helps ensure the module works in all regions.
awsRegion := aws.GetRandomStableRegion(t, nil, nil)
// Pick a random Fargate-enabled AWS region to test in. This helps ensure the module works in all regions.
forbiddenRegions := []string{"sa-east-1", "eu-west-3", "eu-north-1"}
awsRegion := aws.GetRandomStableRegion(t, nil, forbiddenRegions)

terraformOptions := &terraform.Options{
// The path to where our Terraform code is located
Expand Down

0 comments on commit f8fb760

Please sign in to comment.