Skip to content

Commit

Permalink
Node group name has pet appended
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Feb 9, 2025
1 parent 59853d0 commit e2b77e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/src/examples_complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ func TestExamplesComplete(t *testing.T) {
// Run `terraform output` to get the value of an output variable
eksNodeGroupId := terraform.Output(t, terraformOptions, "eks_node_group_id")
// Verify we're getting back the outputs we expect
assert.Equal(t, "eg-test-eks-"+randId+"-cluster:eg-test-eks-"+randId+"-workers", eksNodeGroupId)
// The node group ID will have a random pet name appended to it
assert.Contains(t, eksNodeGroupId, "eg-test-eks-"+randId+"-cluster:eg-test-eks-"+randId+"-workers-")

// Run `terraform output` to get the value of an output variable
eksNodeGroupRoleName := terraform.Output(t, terraformOptions, "eks_node_group_role_name")
Expand Down

0 comments on commit e2b77e2

Please sign in to comment.