diff --git a/resource.digitalocean_droplet.this.tf b/resource.digitalocean_droplet.this.tf index 0bcd427..09a35c2 100644 --- a/resource.digitalocean_droplet.this.tf +++ b/resource.digitalocean_droplet.this.tf @@ -8,5 +8,6 @@ resource "digitalocean_droplet" "this" { region = var.region ssh_keys = var.ssh_keys size = var.size + tags = var.tags vpc_uuid = data.digitalocean_vpc.this.id } diff --git a/variable.tags.tf b/variable.tags.tf new file mode 100644 index 0000000..a14b03c --- /dev/null +++ b/variable.tags.tf @@ -0,0 +1,4 @@ +variable "tags" { + default = [] + type = list(string) +}