Skip to content

Commit

Permalink
Merge pull request #851 from GSA/more-terraform-fixes
Browse files Browse the repository at this point in the history
Fix reference to CF org vs. space
  • Loading branch information
ccostino authored Mar 13, 2024
2 parents d72521f + 9d60e6e commit 8fe70fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions terraform/demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
5 changes: 2 additions & 3 deletions terraform/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 8fe70fe

Please sign in to comment.