Merge pull request #851 from GSA/more-terraform-fixes

Fix reference to CF org vs. space
This commit is contained in:
Carlo Costino
2024-03-13 11:33:27 -04:00
committed by GitHub
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" {