Skip to content

Commit

Permalink
testset
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Mar 25, 2024
1 parent 3c5f859 commit a9d43dc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions castai/resource_node_configuration_eks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ func TestAccResourceNodeConfiguration_eks(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "eks.0.imds_v1", "true"),
resource.TestCheckResourceAttr(resourceName, "eks.0.imds_hop_limit", "3"),
resource.TestCheckResourceAttr(resourceName, "eks.0.volume_kms_key_arn", "arn:aws:kms:eu-central-1:012345:key/1d989ee1-59cd-4238-8018-79bae29d1109"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.arn", "arn:test"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.port", "80"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.#", "1"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.0.arn", "arn:test"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.0.port", "80"),
resource.TestCheckResourceAttr(resourceName, "aks.#", "0"),
resource.TestCheckResourceAttr(resourceName, "kops.#", "0"),
resource.TestCheckResourceAttr(resourceName, "gke.#", "0"),
Expand Down Expand Up @@ -130,10 +131,10 @@ resource "castai_node_configuration" "test" {
volume_kms_key_arn = "arn:aws:kms:eu-central-1:012345:key/1d989ee1-59cd-4238-8018-79bae29d1109"
imds_v1 = true
imds_hop_limit = 3
target_group [{
arn = "arn:test"
port = 80
}]
target_group {
arn = "arn:test"
port = 80
}
}
}
Expand Down

0 comments on commit a9d43dc

Please sign in to comment.