Commit e1e350d9 by Ben Patterson

Address comments.

parent 9e0f84c9
...@@ -8,7 +8,7 @@ provider "aws" { ...@@ -8,7 +8,7 @@ provider "aws" {
# pipeline-provision infrastructure # pipeline-provision infrastructure
resource "aws_sqs_queue" "edx-pipeline-provision" { resource "aws_sqs_queue" "edx-pipeline-provision-queue" {
name = "${var.queue_name_pipeline}" name = "${var.queue_name_pipeline}"
delay_seconds = "${var.queue_delay_seconds}" delay_seconds = "${var.queue_delay_seconds}"
max_message_size = "${var.queue_max_message_size}" max_message_size = "${var.queue_max_message_size}"
...@@ -23,13 +23,13 @@ resource "aws_sns_topic" "edx-pipeline-provision" { ...@@ -23,13 +23,13 @@ resource "aws_sns_topic" "edx-pipeline-provision" {
resource "aws_sns_topic_subscription" "edx-pipeline-provision_sqs_target" { resource "aws_sns_topic_subscription" "edx-pipeline-provision_sqs_target" {
topic_arn = "${aws_sns_topic.edx-pipeline-provision.arn}" topic_arn = "${aws_sns_topic.edx-pipeline-provision.arn}"
protocol = "sqs" protocol = "sqs"
endpoint = "${aws_sqs_queue.edx-pipeline-provision.arn}" endpoint = "${aws_sqs_queue.edx-pipeline-provision-queue.arn}"
} }
# pipeline-sitespeed infrastructure # pipeline-sitespeed infrastructure
resource "aws_sqs_queue" "edx-pipeline-sitespeed" { resource "aws_sqs_queue" "edx-pipeline-sitespeed-queue" {
name = "${var.queue_name_sitespeed}" name = "${var.queue_name_sitespeed}"
delay_seconds = "${var.queue_delay_seconds}" delay_seconds = "${var.queue_delay_seconds}"
max_message_size = "${var.queue_max_message_size}" max_message_size = "${var.queue_max_message_size}"
...@@ -44,7 +44,7 @@ resource "aws_sns_topic" "edx-pipeline-sitespeed" { ...@@ -44,7 +44,7 @@ resource "aws_sns_topic" "edx-pipeline-sitespeed" {
resource "aws_sns_topic_subscription" "edx-pipeline-sitespeed_sqs_target" { resource "aws_sns_topic_subscription" "edx-pipeline-sitespeed_sqs_target" {
topic_arn = "${aws_sns_topic.edx-pipeline-sitespeed.arn}" topic_arn = "${aws_sns_topic.edx-pipeline-sitespeed.arn}"
protocol = "sqs" protocol = "sqs"
endpoint = "${aws_sqs_queue.edx-pipeline-sitespeed.arn}" endpoint = "${aws_sqs_queue.edx-pipeline-sitespeed-queue.arn}"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment