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:
Carlo Costino
2024-03-13 11:26:01 -04:00
parent d72521fc1e
commit 9d60e6e8b7
2 changed files with 4 additions and 6 deletions

View File

@@ -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" {

View File

@@ -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" {