From 23fd68a4f3b9c7226950f2ad875529495b05a745 Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Wed, 8 May 2024 09:12:22 -0400 Subject: [PATCH] Run terraform fmt --- database/main.tf | 10 +++++----- database/variables.tf | 4 ++-- domain/main.tf | 10 +++++----- redis/main.tf | 10 +++++----- s3/main.tf | 10 +++++----- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/database/main.tf b/database/main.tf index c6b91c4..6a65d6e 100644 --- a/database/main.tf +++ b/database/main.tf @@ -8,9 +8,9 @@ data "cloudfoundry_service" "rds" { } resource "cloudfoundry_service_instance" "rds" { - name = var.name - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.rds.service_plans[var.rds_plan_name] - tags = var.tags - json_params = var.json_params + name = var.name + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.rds.service_plans[var.rds_plan_name] + tags = var.tags + json_params = var.json_params } diff --git a/database/variables.tf b/database/variables.tf index fa7b0a4..a9f67eb 100644 --- a/database/variables.tf +++ b/database/variables.tf @@ -27,7 +27,7 @@ variable "tags" { variable "json_params" { description = "A JSON string of arbitrary parameters" - type = string - default = null + type = string + default = null # See options at https://cloud.gov/docs/services/relational-database/#setting-optional-parameters-1 } diff --git a/domain/main.tf b/domain/main.tf index 26536b6..04b8e2c 100644 --- a/domain/main.tf +++ b/domain/main.tf @@ -39,9 +39,9 @@ data "cloudfoundry_service" "external_domain" { } resource "cloudfoundry_service_instance" "external_domain_instance" { - name = local.service_name - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.external_domain.service_plans[var.cdn_plan_name] - json_params = "{\"domains\": \"${local.endpoint}\"}" - tags = var.tags + name = local.service_name + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.external_domain.service_plans[var.cdn_plan_name] + json_params = "{\"domains\": \"${local.endpoint}\"}" + tags = var.tags } diff --git a/redis/main.tf b/redis/main.tf index 51b0281..e276574 100644 --- a/redis/main.tf +++ b/redis/main.tf @@ -8,9 +8,9 @@ data "cloudfoundry_service" "redis" { } resource "cloudfoundry_service_instance" "redis" { - name = var.name - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.redis.service_plans[var.redis_plan_name] - tags = var.tags - json_params = var.json_params + name = var.name + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.redis.service_plans[var.redis_plan_name] + tags = var.tags + json_params = var.json_params } diff --git a/s3/main.tf b/s3/main.tf index 0c0c41d..0bf8c3c 100644 --- a/s3/main.tf +++ b/s3/main.tf @@ -8,9 +8,9 @@ data "cloudfoundry_service" "s3" { } resource "cloudfoundry_service_instance" "bucket" { - name = var.name - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.s3.service_plans[var.s3_plan_name] - tags = var.tags - json_params = var.json_params + name = var.name + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.s3.service_plans[var.s3_plan_name] + tags = var.tags + json_params = var.json_params }