We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e28caa0 commit 12dc874Copy full SHA for 12dc874
1 file changed
website/source/docs/providers/do/r/tag.html.markdown
@@ -16,10 +16,19 @@ configuration via their ID or name.
16
## Example Usage
17
18
```
19
-# Create a new SSH key
20
-resource "digitalocean_tag" "default" {
+# Create a new tag
+resource "digitalocean_tag" "foobar" {
21
name = "foobar"
22
}
23
+
24
+# Create a new droplet in nyc3 with the foobar tag
25
+resource "digitalocean_droplet" "web" {
26
+ image = "ubuntu-16-04-x64"
27
+ name = "web-1"
28
+ region = "nyc3"
29
+ size = "512mb"
30
+ tags = ["${digitalocean_tag.foobar.id}"]
31
+}
32
33
34
## Argument Reference
0 commit comments