File tree Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -48,22 +48,4 @@ resource "null_resource" "wait_for_init" {
48
48
provisioner "local-exec" {
49
49
command = " sleep 80" # wait more than 1 minute for the instance to be rebooted
50
50
}
51
- }
52
-
53
- resource "null_resource" "docker_test" {
54
- count = var. feature_docker && var. feature_docker_test ? var. node_count : 0
55
-
56
- provisioner "remote-exec" {
57
- connection {
58
- host = element (scaleway_instance_server. node . * . public_ip , count. index )
59
- user = var. username
60
- private_key = file (var. ssh_key_file )
61
- }
62
-
63
- inline = [
64
- " mkdir -p ~/www" ,
65
- " echo 'It works' > ~/www/index.html" ,
66
- " docker run --name http-nginx --restart=always -v ~/www:/usr/share/nginx/html:ro -p 80:80 -d nginx" ,
67
- ]
68
- }
69
- }
51
+ }
Original file line number Diff line number Diff line change @@ -48,12 +48,6 @@ variable "feature_docker" {
48
48
default = false
49
49
}
50
50
51
- variable "feature_docker_test" {
52
- type = bool
53
- description = " Whether to deploy a Docker test container when Docker feature is enabled (otherwise it will be ignored)"
54
- default = true
55
- }
56
-
57
51
variable "feature_nvm" {
58
52
type = bool
59
53
description = " Whether to install NVM or not"
You can’t perform that action at this time.
0 commit comments