Skip to content

Commit

Permalink
added acceptance test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cirisked committed Oct 21, 2024
1 parent 491fa1b commit 3dc3495
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions castai/resource_node_configuration_eks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func TestAccResourceNodeConfiguration_eks(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "aks.#", "0"),
resource.TestCheckResourceAttr(resourceName, "kops.#", "0"),
resource.TestCheckResourceAttr(resourceName, "gke.#", "0"),
resource.TestCheckResourceAttr(resourceName, "eks.0.node_group_arn", "arn:aws:iam::000000000000:role/aws_node_group"),
),
},
{
Expand Down Expand Up @@ -130,6 +131,7 @@ resource "castai_node_configuration" "test" {
}
eks {
instance_profile_arn = aws_iam_instance_profile.test.arn
node_group_arn = arn:aws:iam::000000000000:role/aws_node_group
dns_cluster_ip = "10.100.0.10"
security_groups = [aws_security_group.test.id]
volume_type = "gp3"
Expand Down

0 comments on commit 3dc3495

Please sign in to comment.