Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Mar 26, 2024
1 parent 9293399 commit 68cdddb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 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 @@ -127,8 +127,9 @@ 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 = "arn:aws:test"
}
}
resource "castai_node_configuration_default" "test" {
Expand Down

0 comments on commit 68cdddb

Please sign in to comment.