Add project resource assignments
This commit is contained in:
parent
868ab721dd
commit
15a1411f1a
@ -4,3 +4,10 @@ resource "digitalocean_project" "scipio" {
|
|||||||
purpose = "Service or API"
|
purpose = "Service or API"
|
||||||
environment = "Production"
|
environment = "Production"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "digitalocean_project_resources" "scipio" {
|
||||||
|
project = digitalocean_project.scipio.id
|
||||||
|
resources = [
|
||||||
|
digitalocean_domain.scipiocapital.urn,
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -5,3 +5,13 @@ resource "digitalocean_project" "skylab" {
|
|||||||
environment = "Development"
|
environment = "Development"
|
||||||
is_default = true
|
is_default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "digitalocean_project_resources" "skylab" {
|
||||||
|
project = digitalocean_project.skylab.id
|
||||||
|
resources = [
|
||||||
|
digitalocean_domain.allaroundhere.urn,
|
||||||
|
digitalocean_domain.enpaul.urn,
|
||||||
|
digitalocean_domain.enp.urn,
|
||||||
|
digitalocean_spaces_bucket.enp_cdn.urn
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user