Skip to content

Commit

Permalink
fix security_group example
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBrosse committed Jul 8, 2019
1 parent ffc7c81 commit a8a454f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions website/docs/r/compute_instance_server.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -54,30 +54,28 @@ resource "scaleway_compute_instance_security_group" "www" {
outbound_default_policy = "accept"
inbound {
action = accept
action = "accept"
port = "22"
}
inbound {
action = accept
action = "accept"
port = "443"
ip = "8.8.8.8"
}
outbound {
action = drop
action = "drop"
ip_range = "10.20.0.0/24"
}
resource "scaleway_compute_instance_server" "web" {
type = "DEV1-S"
image_id = "f974feac-abae-4365-b988-8ec7d1cec10d"
security_group_id= "${scaleway_compute_instance_security_group.www.id}"
}
}
resource "scaleway_compute_instance_server" "web" {
type = "DEV1-S"
image_id = "f974feac-abae-4365-b988-8ec7d1cec10d"
security_group_id= "${scaleway_compute_instance_security_group.www.id}"
}
```

### With user data and could-init
Expand Down

0 comments on commit a8a454f

Please sign in to comment.