Skip to content

Commit

Permalink
[codefresh] Added chamber parameters mapping (#162)
Browse files Browse the repository at this point in the history
* Added chamber key

* Added chamber mapping

* Update main.tf
  • Loading branch information
goruha authored Apr 19, 2019
1 parent bf492a2 commit 03ce78e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion aws/codefresh-onprem/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,16 @@ variable "documentdb_enabled_cloudwatch_logs_exports" {
default = []
}

variable "documentdb_chamber_parameters_mapping" {
type = "map"

default = {
documentdb_connection_uri = "MONGODB_URI"
}

description = "Allow to specify keys names for chamber to store values"
}

data "terraform_remote_state" "backing_services" {
backend = "s3"

Expand All @@ -164,7 +174,7 @@ data "terraform_remote_state" "backing_services" {
}

module "codefresh_enterprise_backing_services" {
source = "git::https://github.com/cloudposse/terraform-aws-codefresh-backing-services.git?ref=tags/0.6.0"
source = "git::https://github.com/cloudposse/terraform-aws-codefresh-backing-services.git?ref=tags/0.7.0"
namespace = "${var.namespace}"
stage = "${var.stage}"
vpc_id = "${data.terraform_remote_state.backing_services.vpc_id}"
Expand Down Expand Up @@ -194,6 +204,7 @@ module "codefresh_enterprise_backing_services" {
documentdb_skip_final_snapshot = "${var.documentdb_skip_final_snapshot}"
documentdb_apply_immediately = "${var.documentdb_apply_immediately}"
documentdb_enabled_cloudwatch_logs_exports = ["${var.documentdb_enabled_cloudwatch_logs_exports}"]
documentdb_chamber_parameters_mapping = "${var.documentdb_chamber_parameters_mapping}"
}

output "elasticache_redis_id" {
Expand Down

0 comments on commit 03ce78e

Please sign in to comment.