Skip to content

Commit

Permalink
Run terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed May 8, 2024
1 parent 1ab1b66 commit 23fd68a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
10 changes: 5 additions & 5 deletions database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
4 changes: 2 additions & 2 deletions database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
10 changes: 5 additions & 5 deletions domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
10 changes: 5 additions & 5 deletions redis/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
10 changes: 5 additions & 5 deletions s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 23fd68a

Please sign in to comment.