mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
rebuild module.logo_upload_bucket with cloudfoundry provider
This commit is contained in:
@@ -32,27 +32,15 @@ data "cloudfoundry_space" "space" {
|
|||||||
name = local.cf_space_name
|
name = local.cf_space_name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "logo_upload_bucket" {
|
||||||
# IF we want to upgrade from cloudfoundry communit to official,
|
source = "github.com/GSA-TTS/terraform-cloudgov//s3?ref=v2.4.0"
|
||||||
# we need to do something like what's commented out below
|
# Right now the default is cfcommunity, remove this when default is cloudfoundry
|
||||||
#
|
providers = {
|
||||||
# We also need to run
|
cloudfoundry = cloudfoundry.official
|
||||||
#
|
}
|
||||||
# terraform state replace-provider \
|
cf_space_id = data.cloudfoundry_space.space.id
|
||||||
# -auto-approve \
|
name = "${local.app_name}-logo-upload-bucket-${local.env}"
|
||||||
# -state=terraform.tfstate
|
}
|
||||||
# 'registry.terraform.io/cloudfoundry-community/cloudfoundry' \
|
|
||||||
# 'registry.terraform.io/cloudfoundry/cloudfoundry' \
|
|
||||||
# module.logo_upload_bucket (or something like that)
|
|
||||||
# module "logo_upload_bucket" {
|
|
||||||
# source = "github.com/GSA-TTS/terraform-cloudgov//s3?ref=v2.4.0"
|
|
||||||
# Right now the default is cfcommunity, remove this when default is cloudfoundry
|
|
||||||
# providers = {
|
|
||||||
# cloudfoundry = cloudfoundry.official
|
|
||||||
# }
|
|
||||||
# cf_space_id = data.cloudfoundry_space.space.id
|
|
||||||
# name = "${local.app_name}-logo-upload-bucket-${local.env}"
|
|
||||||
# }
|
|
||||||
|
|
||||||
|
|
||||||
module "logo_upload_bucket" {
|
module "logo_upload_bucket" {
|
||||||
|
|||||||
Reference in New Issue
Block a user