Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Mar 25, 2024
1 parent 14d8799 commit 3a2e8df
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions castai/resource_node_configuration_eks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ 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.#", "0"),
resource.TestCheckResourceAttr(resourceName, "eks.0.target_group.#", "1"),
resource.TestCheckResourceAttr(resourceName, "aks.#", "0"),
resource.TestCheckResourceAttr(resourceName, "kops.#", "0"),
resource.TestCheckResourceAttr(resourceName, "gke.#", "0"),
Expand Down Expand Up @@ -129,9 +129,11 @@ 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 {
target_group [
{
arn = "aws_lb_target_group.test.arn"
}
}
]
}
}
Expand Down

0 comments on commit 3a2e8df

Please sign in to comment.