Skip to content

Commit

Permalink
Remove deprecated recursive_delete option
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed May 8, 2024
1 parent a79c7cf commit 1ab1b66
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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]
recursive_delete = var.recursive_delete
tags = var.tags
json_params = var.json_params
}
6 changes: 0 additions & 6 deletions database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ variable "name" {
description = "Name of the database service instance"
}

variable "recursive_delete" {
type = bool
description = "when true, deletes service bindings attached to the resource (not recommended for production)"
default = false
}

variable "rds_plan_name" {
type = string
description = "service plan to use"
Expand Down
1 change: 0 additions & 1 deletion domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ 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]
recursive_delete = var.recursive_delete
json_params = "{\"domains\": \"${local.endpoint}\"}"
tags = var.tags
}
6 changes: 0 additions & 6 deletions domain/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ variable "app_name_or_id" {
description = "base application name to be accessed at this domain name"
}

variable "recursive_delete" {
type = bool
description = "when true, deletes service bindings attached to the resource (not recommended for production)"
default = false
}

variable "name" {
type = string
description = "name of the service instance"
Expand Down
1 change: 0 additions & 1 deletion redis/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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]
recursive_delete = var.recursive_delete
tags = var.tags
json_params = var.json_params
}
6 changes: 0 additions & 6 deletions redis/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ variable "name" {
description = "name for the redis service instance"
}

variable "recursive_delete" {
type = bool
description = "when true, deletes service bindings attached to the resource (not recommended for production)"
default = false
}

variable "redis_plan_name" {
type = string
description = "name of the service plan name to create"
Expand Down
1 change: 0 additions & 1 deletion s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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]
recursive_delete = var.recursive_delete
tags = var.tags
json_params = var.json_params
}
6 changes: 0 additions & 6 deletions s3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ variable "cf_space_name" {
description = "cloud.gov space name (staging or prod)"
}

variable "recursive_delete" {
type = bool
description = "when true, deletes service bindings attached to the resource (not recommended for production)"
default = false
}

variable "name" {
type = string
description = "name of the cloud.gov service instance"
Expand Down

0 comments on commit 1ab1b66

Please sign in to comment.