Skip to content
This repository was archived by the owner on Oct 31, 2019. It is now read-only.

Commit 80ca8ff

Browse files
committed
add logging stack to mgmt environment
1 parent 6e53655 commit 80ca8ff

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Currently, both the management and environment VPCs will be deployed in the same
2828
1. Install additional dependencies:
2929
* [Ansible](https://docs.ansible.com/ansible/latest/intro_installation.html)
3030
* [Packer](https://www.packer.io/)
31-
* [Terraform](https://www.terraform.io/)
31+
* [Terraform](https://www.terraform.io/) 0.11.0+
3232
1. Install Ansible dependencies.
3333

3434
```sh

terraform/mgmt/monitoring.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ module "os_monitoring" {
1616
high_memory_threshold = "${var.high_memory_jenkins_alarm_threshold}"
1717
high_disk_util_threshold = "${var.high_disk_util_jenkins_alarm_threshold}"
1818
}
19+
20+
module "ekk_stack" {
21+
# https://github.com/GSA/devsecops-ekk-stack/pull/4
22+
source = "git::https://github.com/GSA/devsecops-ekk-stack.git//terraform?ref=modularize-terraform-stack"
23+
24+
s3_logging_bucket_name = "${var.s3_logging_bucket_name}"
25+
es_kinesis_delivery_stream = "${var.es_kinesis_delivery_stream}"
26+
}

terraform/mgmt/variables.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ variable "high_disk_util_jenkins_alarm_threshold" {
5252
default = "85"
5353
}
5454

55+
variable "s3_logging_bucket_name" {
56+
default = "devsecops-logging"
57+
}
58+
59+
variable "es_kinesis_delivery_stream" {
60+
default = "devsecops-logging"
61+
}
62+
5563
variable "deployer_username" {
5664
default = "circleci-deployer"
5765
description = "Username for the AWS IAM user"

0 commit comments

Comments
 (0)