@@ -52,6 +52,7 @@ func TestAccPool_Basic(t *testing.T) {
5252 testAccCheckK8SPoolServersAreInPrivateNetwork (tt , "scaleway_k8s_cluster.minimal" , "scaleway_k8s_pool.default" , "scaleway_vpc_private_network.minimal" ),
5353 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "nodes.0.private_ips.0.id" ),
5454 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "nodes.0.private_ips.0.address" ),
55+ resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "security_group_id" ),
5556 ),
5657 },
5758 {
@@ -65,6 +66,7 @@ func TestAccPool_Basic(t *testing.T) {
6566 resource .TestCheckResourceAttr ("scaleway_k8s_pool.minimal" , "autoscaling" , "true" ),
6667 resource .TestCheckResourceAttr ("scaleway_k8s_pool.minimal" , "version" , latestK8SVersion ),
6768 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.minimal" , "id" ),
69+ resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.minimal" , "security_group_id" ),
6870 resource .TestCheckResourceAttr ("scaleway_k8s_pool.minimal" , "tags.0" , "terraform-test" ),
6971 resource .TestCheckResourceAttr ("scaleway_k8s_pool.minimal" , "tags.1" , "scaleway_k8s_cluster" ),
7072 resource .TestCheckResourceAttr ("scaleway_k8s_pool.minimal" , "tags.2" , "minimal" ),
@@ -75,6 +77,7 @@ func TestAccPool_Basic(t *testing.T) {
7577 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "nodes.0.private_ips.0.address" ),
7678 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "nodes.0.private_ips.1.id" ),
7779 resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "nodes.0.private_ips.1.address" ),
80+ resource .TestCheckResourceAttrSet ("scaleway_k8s_pool.default" , "security_group_id" ),
7881 ),
7982 },
8083 {
0 commit comments