Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Jun 7, 2024
1 parent bbe0a21 commit 8a16ccc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions test/examples_complete-worker-ec2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ func TestExamplesWorkerEc2(t *testing.T) {
// Run `terraform output` to get the value of an output variable
cloudWatchLogGroup := terraform.Output(t, terraformOptions, "cloudwatch_log_group")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e05-worker-ec2", cloudWatchLogGroup)
assert.Equal(t, "e2e06-worker-ec2", cloudWatchLogGroup)

// Run `terraform output` to get the value of an output variable
ecsClusterName := terraform.Output(t, terraformOptions, "ecs_cluster_name")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e05-tftest-worker-ec2", ecsClusterName)
assert.Equal(t, "e2e06-tftest-worker-ec2", ecsClusterName)

/*
// Run `terraform output` to get the value of an output variable
Expand Down
4 changes: 2 additions & 2 deletions test/examples_complete-worker-scheduled-autoscale_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ func TestExamplesWorkerAutoScheduled(t *testing.T) {
// Run `terraform output` to get the value of an output variable
cloudWatchLogGroup := terraform.Output(t, terraformOptions, "cloudwatch_log_group")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e04-worker-scheduled-auto", cloudWatchLogGroup)
assert.Equal(t, "e2e05-worker-scheduled-auto", cloudWatchLogGroup)

// Run `terraform output` to get the value of an output variable
ecsClusterName := terraform.Output(t, terraformOptions, "ecs_cluster_name")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e04-tftest-worker-scheduled-auto", ecsClusterName)
assert.Equal(t, "e2e05-tftest-worker-scheduled-auto", ecsClusterName)

/*
// Run `terraform output` to get the value of an output variable
Expand Down
6 changes: 3 additions & 3 deletions test/examples_web-proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,17 @@ func TestExamplesWebProxy(t *testing.T) {
// Run `terraform output` to get the value of an output variable
cloudWatchLogGroup := terraform.Output(t, terraformOptions, "cloudwatch_log_group")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e05-proxy", cloudWatchLogGroup)
assert.Equal(t, "e2e04-proxy", cloudWatchLogGroup)

// Run `terraform output` to get the value of an output variable
ecsClusterName := terraform.Output(t, terraformOptions, "ecs_cluster_name")
// Verify we're getting back the outputs we expect
assert.Equal(t, "e2e05-tftest-proxy", ecsClusterName)
assert.Equal(t, "e2e04-tftest-proxy", ecsClusterName)

// Run `terraform output` to get the value of an output variable
r53AppDnsName := terraform.Output(t, terraformOptions, "r53_lb_dns_name")
// Verify we're getting back the outputs we expect
assert.Equal(t, "proxy.e2e05.nutcorp.net", r53AppDnsName)
assert.Equal(t, "proxy.e2e04.nutcorp.net", r53AppDnsName)
/*
// Run `terraform output` to get the value of an output variable
proxyEndpoint := terraform.Output(t, terraformOptions, "proxy_endpoint")
Expand Down

0 comments on commit 8a16ccc

Please sign in to comment.