Merge pull request #20 from nicolai86/master

docs: add undocumented attribute to volume, update firewall docs
This commit is contained in:
Jake Champlin 2017-06-29 09:46:47 -04:00 committed by GitHub
commit 8c87d67dee
2 changed files with 11 additions and 12 deletions

View File

@ -26,7 +26,7 @@ resource "digitalocean_firewall" "web" {
droplet_ids = ["${digitalocean_droplet.web.id}"]
inbound_rules = [
inbound_rule = [
{
protocol = "tcp"
port_range = "22"
@ -44,13 +44,11 @@ resource "digitalocean_firewall" "web" {
},
]
outbound_rules = [
{
protocol = "udp"
port_range = "53"
destination_addresses = ["0.0.0.0/0", "::/0"]
},
]
outbound_rule {
protocol = "udp"
port_range = "53"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
}
```
@ -62,10 +60,10 @@ The following arguments are supported:
* `droplet_ids` (Optional) - The list of the IDs of the Droplets assigned
to the Firewall.
* `tags` (Optional) - The names of the Tags assigned to the Firewall.
* `inbound_rules` - (Optional) The inbound access rule block for the Firewall.
The `inbound_rules` block is documented below.
* `outbound_rules` - (Optional) The outbound access rule block for the Firewall.
The `outbound_rules` block is documented below.
* `inbound_rule` - (Optional) The inbound access rule block for the Firewall.
The `inbound_rule` block is documented below.
* `outbound_rule` - (Optional) The outbound access rule block for the Firewall.
The `outbound_rule` block is documented below.
`inbound_rule` supports the following:

View File

@ -37,6 +37,7 @@ The following arguments are supported:
* `name` - (Required) A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters.
* `size` - (Required) The size of the block storage volume in GiB.
* `description` - (Optional) A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
* `droplet_ids` - (Computed) A list of associated droplet ids
## Attributes Reference