Add tagging support

This commit is contained in:
Jason Rothstein 2020-12-06 15:38:52 -06:00
parent 6a025d1a51
commit bcfb9196a0
2 changed files with 5 additions and 0 deletions

View File

@ -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
}

4
variable.tags.tf Normal file
View File

@ -0,0 +1,4 @@
variable "tags" {
default = []
type = list(string)
}