Merge pull request #2062 from GSA/terraform_upgrade2

add second provider to all tiers
This commit is contained in:
ccostino
2025-10-27 14:24:38 -04:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ terraform {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
cfcommunity = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
}
backend "s3" {
@@ -16,7 +20,16 @@ terraform {
}
}
# Official provider (should be default but aliased for now)
provider "cloudfoundry" {
alias = "official"
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}
# Community provider (should be aliased but default for now)
provider "cfcommunity" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password

View File

@@ -5,6 +5,10 @@ terraform {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
cfcommunity = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
}
backend "s3" {
@@ -16,7 +20,16 @@ terraform {
}
}
# Official provider (should be default but aliased for now)
provider "cloudfoundry" {
alias = "official"
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}
# Community provider (should be aliased but default for now)
provider "cfcommunity" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password