Skip to content

Commit

Permalink
Merge pull request #4447 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Nov 9, 2024
2 parents 7453a44 + 24a933e commit ba301ae
Show file tree
Hide file tree
Showing 32 changed files with 605 additions and 435 deletions.
132 changes: 88 additions & 44 deletions terraform/dev/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions terraform/dev/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module "dev" {
clamav_instances = 1
clamav_memory = 2048
clamav_fs_instances = 1
recursive_delete = true
json_params = jsonencode(
{
"storage" : 50,
Expand All @@ -24,7 +23,7 @@ module "dev" {
}

module "dev-backups-bucket" {
source = "github.com/gsa-tts/terraform-cloudgov//s3?ref=v0.9.1"
source = "github.com/gsa-tts/terraform-cloudgov//s3?ref=v1.1.0"

cf_org_name = var.cf_org_name
cf_space_name = "dev"
Expand Down
3 changes: 1 addition & 2 deletions terraform/dev/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
set -e
terraform init \
--backend-config=../shared/config/backend.tfvars \
--backend-config=key=terraform.tfstate.$(basename $(pwd))

--backend-config=key=terraform.tfstate."$(basename "$(pwd)")"
4 changes: 2 additions & 2 deletions terraform/dev/providers-managed.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "~>0.51.3"
version = "~>0.53.1"
}
}

Expand All @@ -26,4 +26,4 @@ provider "cloudfoundry" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}
}
62 changes: 31 additions & 31 deletions terraform/meta/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions terraform/meta/bootstrap-env/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "~>0.51.3"
version = "~>0.53.1"
}
github = {
source = "integrations/github"
version = "~>5.12.0"
}
}
}
}
7 changes: 4 additions & 3 deletions terraform/meta/bootstrap-env/space.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ data "cloudfoundry_asg" "asgs" {

# Ensure the space exists and is configured as expected
resource "cloudfoundry_space" "space" {
name = var.name
org = data.cloudfoundry_org.org.id
allow_ssh = var.allow_ssh
name = var.name
org = data.cloudfoundry_org.org.id
allow_ssh = var.allow_ssh
delete_recursive_allowed = false
}

resource "cloudfoundry_space_asgs" "space_asgs" {
Expand Down
3 changes: 1 addition & 2 deletions terraform/meta/bootstrap-env/templates/init.sh-template
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
set -e
terraform init \
--backend-config=../shared/config/backend.tfvars \
--backend-config=key=terraform.tfstate.$(basename $(pwd))

--backend-config=key=terraform.tfstate."$(basename "$(pwd)")"
4 changes: 2 additions & 2 deletions terraform/meta/bootstrap-env/templates/providers.tf-template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
cloudfoundry = {
source = "cloudfoundry-community/cloudfoundry"
version = "~>0.51.3"
version = "~>0.53.1"
}
}

Expand All @@ -26,4 +26,4 @@ provider "cloudfoundry" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}
}
55 changes: 37 additions & 18 deletions terraform/meta/bootstrap/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba301ae

Please sign in to comment.