Skip to content

Commit

Permalink
Merge branch 'main' into fix/redeployment_trigger_plantimestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseSecurity authored Oct 8, 2024
2 parents 1b66823 + 0319b7a commit d1d6d00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/src/examples_complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ func TestExamplesComplete(t *testing.T) {
// Run `terraform output` to get the value of an output variable
ecsClusterId := terraform.Output(t, terraformOptions, "ecs_cluster_id")
// Verify we're getting back the outputs we expect
assert.Equal(t, "arn:aws:ecs:us-east-2:126450723953:cluster/"+basename, ecsClusterId)
assert.Equal(t, "arn:aws:ecs:us-east-2:799847381734:cluster/"+basename, ecsClusterId)

// Run `terraform output` to get the value of an output variable
ecsClusterArn := terraform.Output(t, terraformOptions, "ecs_cluster_arn")
// Verify we're getting back the outputs we expect
assert.Equal(t, "arn:aws:ecs:us-east-2:126450723953:cluster/"+basename, ecsClusterArn)
assert.Equal(t, "arn:aws:ecs:us-east-2:799847381734:cluster/"+basename, ecsClusterArn)

// Run `terraform output` to get the value of an output variable
ecsExecRolePolicyName := terraform.Output(t, terraformOptions, "ecs_exec_role_policy_name")
Expand All @@ -111,7 +111,7 @@ func TestExamplesComplete(t *testing.T) {
// Run `terraform output` to get the value of an output variable
taskExecRoleArn := terraform.Output(t, terraformOptions, "task_exec_role_arn")
// Verify we're getting back the outputs we expect
assert.Equal(t, "arn:aws:iam::126450723953:role/"+basename+"-exec", taskExecRoleArn)
assert.Equal(t, "arn:aws:iam::799847381734:role/"+basename+"-exec", taskExecRoleArn)

// Run `terraform output` to get the value of an output variable
taskRoleName := terraform.Output(t, terraformOptions, "task_role_name")
Expand All @@ -121,7 +121,7 @@ func TestExamplesComplete(t *testing.T) {
// Run `terraform output` to get the value of an output variable
taskRoleArn := terraform.Output(t, terraformOptions, "task_role_arn")
// Verify we're getting back the outputs we expect
assert.Equal(t, "arn:aws:iam::126450723953:role/"+basename+"-task", taskRoleArn)
assert.Equal(t, "arn:aws:iam::799847381734:role/"+basename+"-task", taskRoleArn)
}

func TestExamplesCompleteDisabled(t *testing.T) {
Expand Down

0 comments on commit d1d6d00

Please sign in to comment.