Revert the rest of our Terraform changes

This changeset reverts the rest of our recent Terraform changes to make sure deployments are working properly.

Again, these will be re-introduced once we figure out the resource management piece.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-04-03 14:07:28 -04:00
parent ecbe736554
commit af877cae8d
16 changed files with 79 additions and 65 deletions

View File

@@ -11,10 +11,8 @@ data "cloudfoundry_org" "org" {
###
resource "cloudfoundry_space" "public_egress" {
allow_ssh = var.allow_ssh
delete_recursive_allowed = var.delete_recursive_allowed
name = "${var.cf_restricted_space_name}-egress"
org = data.cloudfoundry_org.org.id
name = "${var.cf_restricted_space_name}-egress"
org = data.cloudfoundry_org.org.id
}
###

View File

@@ -3,7 +3,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
version = "0.53.0"
}
}
}

View File

@@ -3,15 +3,3 @@ variable "cf_restricted_space_name" {}
variable "deployers" {
type = set(string)
}
variable "delete_recursive_allowed" {
type = bool
default = true
description = "Flag for allowing resources to be recursively deleted - not recommended in production environments"
}
variable "allow_ssh" {
type = bool
default = true
description = "Flag for allowing SSH access in a space - not recommended in production environments"
}