Skip to content

Commit

Permalink
ci: Update SSM parameter to use AL2 instead of AL (#5460)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored and engedaam committed Jan 30, 2024
1 parent a32a8c4 commit 8fb62bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/suites/drift/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ var _ = Describe("Drift", Label("AWS"), func() {
startingNodeClaimState := env.EventuallyExpectCreatedNodeClaimCount("==", int(numPods))
env.EventuallyExpectCreatedNodeCount("==", int(numPods))

// Drift the nodeClaim with bad configuration
// Drift the nodeClaim with bad configuration that will not register a NodeClaim
parameter, err := env.SSMAPI.GetParameter(&ssm.GetParameterInput{
Name: awssdk.String("/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs"),
Name: awssdk.String("/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs"),
})
Expect(err).ToNot(HaveOccurred())
nodeClass.Spec.AMISelectorTerms = []v1beta1.AMISelectorTerm{{ID: *parameter.Parameter.Value}}
Expand Down
2 changes: 1 addition & 1 deletion test/suites/expiration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ var _ = Describe("Expiration", func() {

// Set a configuration that will not register a NodeClaim
parameter, err := env.SSMAPI.GetParameter(&ssm.GetParameterInput{
Name: lo.ToPtr("/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs"),
Name: lo.ToPtr("/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs"),
})
Expect(err).ToNot(HaveOccurred())
nodeClass.Spec.AMISelectorTerms = []v1beta1.AMISelectorTerm{
Expand Down

0 comments on commit 8fb62bf

Please sign in to comment.