Add project resource assignments
This commit is contained in:
		@@ -4,3 +4,10 @@ resource "digitalocean_project" "scipio" {
 | 
			
		||||
  purpose     = "Service or API"
 | 
			
		||||
  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"
 | 
			
		||||
  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