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

[WORK IN PROGRESS] add logging stack to mgmt environment #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Currently, both the management and environment VPCs will be deployed in the same
1. Install additional dependencies:
* [Ansible](https://docs.ansible.com/ansible/latest/intro_installation.html)
* [Packer](https://www.packer.io/)
* [Terraform](https://www.terraform.io/)
* [Terraform](https://www.terraform.io/) 0.11.0+
1. Install Ansible dependencies.

```sh
Expand Down
8 changes: 8 additions & 0 deletions terraform/mgmt/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ module "alerting" {
general_availability_protocol = "${var.general_availability_protocol}"
general_availability_endpoint = "${var.general_availability_endpoint}"
}

module "ekk_stack" {
source = "github.com/GSA/devsecops-ekk-stack//terraform"

s3_logging_bucket_name = "${var.s3_logging_bucket_name}"
kinesis_delivery_stream = "${var.kinesis_delivery_stream}"
ekk_kinesis_stream_name = "${var.ekk_kinesis_stream_name}"
}
12 changes: 12 additions & 0 deletions terraform/mgmt/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ variable "general_availability_endpoint" {
description = "The destination (such as an email address) to send the monitoring alerts to. More info under https://docs.aws.amazon.com/cli/latest/reference/sns/subscribe.html#options. Note that changing this value will require you to run a 'taint aws_sns_topic.sns_general_availability' before an 'apply'."
}

variable "s3_logging_bucket_name" {
default = "devsecops-logging"
}

variable "kinesis_delivery_stream" {
default = "devsecops-logging"
}

variable "ekk_kinesis_stream_name" {
default = "devsecops-logging-ekk"
}

variable "deployer_username" {
default = "circleci-deployer"
description = "Username for the AWS IAM user"
Expand Down