jdormit-infra/mgmt/do-project-jeremydormitzer/main.tf
2020-12-04 09:10:23 -05:00

21 lines
826 B
HCL

provider "digitalocean" {
token = var.do_token
spaces_access_id = var.spaces_access_id
spaces_secret_key = var.spaces_secret_key
}
resource "digitalocean_project" "jeremy_dormitzer" {
name = "jeremy.dormitzer"
environment = "Production"
description = "Personal infrastructure"
purpose = "Personal infrastructure"
resources = [
data.terraform_remote_state.jdormit_website.outputs.jdormit_website_urn,
data.terraform_remote_state.git_jeremydormitzer_com.outputs.git_urn,
data.terraform_remote_state.syncthing.outputs.syncthing_urn,
data.terraform_remote_state.syncthing.outputs.syncthing_volume_urn,
data.terraform_remote_state.justin_ghost_site.outputs.justin_ghost_site_urn,
data.terraform_remote_state.jeremydormitzer_com.outputs.jeremydormitzer_com_urn
]
}