Sha256: 7a83a290de08bfdf015eab8d5357e6f45e33225d7056c991fad41260484e0ede

Contents?: true

Size: 518 Bytes

Versions: 11

Compression:

Stored size: 518 Bytes

Contents

###
# Target space/org
###

data "cloudfoundry_space" "space" {
  org_name = var.cf_org_name
  name     = var.cf_space_name
}

###
# RDS instance
###

data "cloudfoundry_service" "redis" {
  name = "aws-elasticache-redis"
}

resource "cloudfoundry_service_instance" "redis" {
  name             = "<%= app_name %>-redis-${var.env}"
  space            = data.cloudfoundry_space.space.id
  service_plan     = data.cloudfoundry_service.redis.service_plans[var.redis_plan_name]
  recursive_delete = var.recursive_delete
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_template_18f-0.8.0 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.7.2 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.7.1 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.7.0 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.6.0 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.5.3 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.5.2 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.5.1 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.5.0 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.4.1 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt
rails_template_18f-0.4.0 lib/generators/rails_template18f/terraform/templates/terraform/shared/redis/main.tf.tt