mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 02:32:32 -05:00
Bring bootstrap module back into working order with versioned s3 module
This commit is contained in:
@@ -1,17 +1,13 @@
|
|||||||
locals {
|
locals {
|
||||||
cf_api_url = "https://api.fr.cloud.gov"
|
|
||||||
s3_service_name = "notify-terraform-state"
|
s3_service_name = "notify-terraform-state"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "s3" {
|
module "s3" {
|
||||||
source = "github.com/18f/terraform-cloudgov//s3"
|
source = "github.com/18f/terraform-cloudgov//s3?ref=v0.3.0"
|
||||||
|
|
||||||
cf_api_url = local.cf_api_url
|
cf_org_name = "gsa-tts-benefits-studio-prototyping"
|
||||||
cf_user = var.cf_user
|
cf_space_name = "notify-management"
|
||||||
cf_password = var.cf_password
|
name = local.s3_service_name
|
||||||
cf_org_name = "gsa-tts-benefits-studio-prototyping"
|
|
||||||
cf_space_name = "notify-management"
|
|
||||||
s3_service_name = local.s3_service_name
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudfoundry_service_key" "bucket_creds" {
|
resource "cloudfoundry_service_key" "bucket_creds" {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provider "cloudfoundry" {
|
provider "cloudfoundry" {
|
||||||
api_url = local.cf_api_url
|
api_url = "https://api.fr.cloud.gov"
|
||||||
user = var.cf_user
|
user = var.cf_user
|
||||||
password = var.cf_password
|
password = var.cf_password
|
||||||
app_logs_max = 30
|
app_logs_max = 30
|
||||||
|
|||||||
Reference in New Issue
Block a user