add second provider to all tiers

This commit is contained in:
Kenneth Kehl
2025-10-24 11:48:14 -07:00
parent 9d332475b7
commit b52df1a561
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