Skip to content

Commit

Permalink
Attempt to stabilize build (#195)
Browse files Browse the repository at this point in the history
* No need to exclude transit gateway from our nuke job

* Add logging message for creating RDS cluster so we can find regions where the test fails to create
  • Loading branch information
yorinasub17 authored Jun 29, 2021
1 parent 835acd6 commit 8eb2ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:
--older-than 1h \
--force \
--config ./.circleci/nuke_config.yml \
--exclude-resource-type iam \
--exclude-resource-type transit-gateway \
--exclude-resource-type transit-gateway-attachment \
--exclude-resource-type transit-gateway-route-table
--exclude-resource-type iam
no_output_timeout: 1h
nuke_sandbox:
<<: *defaults
Expand All @@ -49,10 +46,7 @@ jobs:
--older-than 24h \
--force \
--config ./.circleci/nuke_config.yml \
--exclude-resource-type iam \
--exclude-resource-type transit-gateway \
--exclude-resource-type transit-gateway-attachment \
--exclude-resource-type transit-gateway-route-table
--exclude-resource-type iam
no_output_timeout: 1h
deploy:
<<: *defaults
Expand Down
3 changes: 3 additions & 0 deletions aws/rds_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"testing"
"time"

"github.com/aws/aws-sdk-go/aws"
awsgo "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/rds"
Expand All @@ -16,6 +17,8 @@ import (
)

func createTestRDSCluster(t *testing.T, session *session.Session, name string) {
t.Logf("Creating RDS Cluster in region %s", aws.StringValue(session.Config.Region))

svc := rds.New(session)
params := &rds.CreateDBClusterInput{
DBClusterIdentifier: awsgo.String(name),
Expand Down

0 comments on commit 8eb2ba4

Please sign in to comment.