Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
Minor renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyugupta07 committed Jan 28, 2019
1 parent 4d756e6 commit 316fa09
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ For more information please refer to the main [Apiary](https://github.com/Expedi
| subnets | ECS container subnets. | list | - | yes |
| tags | A map of tags to apply to resources. | map | `<map>` | no |
| vpc_id | VPC ID. | string | - | yes |
| source_metastore_uri | Source Metastore URI for Shunting Yard | string | - | yes |
| target_metastore_uri | Target Metastore URI for Shunting Yard | string | - | yes |
| metastore_events_sns_topic | SNS Topic for Hive Metastore events | string | - | yes |
| source_metastore_uri | Source Metastore URI for Shunting Yard. | string | - | yes |
| target_metastore_uri | Target Metastore URI for Shunting Yard. | string | - | yes |
| metastore_events_sns_topic | SNS Topic for Hive Metastore events. | string | - | yes |
| selected_tables | Tables selected for Shunting Yard Replication. Supported Format: `database_1.table_1, database_2.table_2` | string | - | yes |

## Usage
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ resource "aws_cloudwatch_log_group" "shuntingyard_ecs" {
}

data "template_file" "shuntingyard_config_yaml" {
template = "${file("${path.module}/templates/shunting-yard-config.yml.tmpl")}"
template = "${file("${path.module}/templates/shuntingyard-config.yml.tmpl")}"

vars {
source_metastore_uri = "${var.source_metastore_uri}"
target_metastore_uri = "${var.target_metastore_uri}"
shunting_yard_sqs_queue = "${aws_sqs_queue.shuntingyard_sqs_queue.id}"
shuntingyard_sqs_queue = "${aws_sqs_queue.shuntingyard_sqs_queue.id}"
selected_tables = "${var.selected_tables}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ replica-catalog:
event-receiver:
message-reader-factory-class: com.hotels.shunting.yard.receiver.sqs.messaging.SqsMessageReaderFactory
configuration-properties:
com.hotels.shunting.yard.event.receiver.sqs.queue: ${shunting_yard_sqs_queue}
com.hotels.shunting.yard.event.receiver.sqs.queue: ${shuntingyard_sqs_queue}
com.hotels.shunting.yard.event.receiver.sqs.wait.time.seconds: 15
source-table-filter:
table-names: ${selected_tables}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ variable "docker_version" {
}

variable "allowed_s3_buckets" {
description = "List of S3 Buckets to which SY will have read-write access"
description = "List of S3 Buckets to which SY will have read-write access."
type = "list"
}

Expand Down

0 comments on commit 316fa09

Please sign in to comment.