mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Fix reference to CF org vs. space
This changeset fixes a reference to properly load the Cloud Foundry org for modifying the space. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -6,9 +6,8 @@ locals {
|
||||
delete_recursive_allowed = false
|
||||
}
|
||||
|
||||
data "cloudfoundry_space" "demo" {
|
||||
org_name = local.cf_org_name
|
||||
name = local.cf_space_name
|
||||
data "cloudfoundry_org" "org" {
|
||||
name = local.cf_org_name
|
||||
}
|
||||
|
||||
resource "cloudfoundry_space" "notify-demo" {
|
||||
|
||||
@@ -7,9 +7,8 @@ locals {
|
||||
allow_ssh = false
|
||||
}
|
||||
|
||||
data "cloudfoundry_space" "production" {
|
||||
org_name = local.cf_org_name
|
||||
name = local.cf_space_name
|
||||
data "cloudfoundry_org" "org" {
|
||||
name = local.cf_org_name
|
||||
}
|
||||
|
||||
resource "cloudfoundry_space" "notify-production" {
|
||||
|
||||
Reference in New Issue
Block a user