-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from Flaconi/OPS-3940-extend-ms-tf-module
Ops 3940 create up to 5 sqs for a microservice
- Loading branch information
Showing
14 changed files
with
807 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# DynamoDB | ||
|
||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| ms\_sample\_sqs\_sqs\_queue\_arn | sqs queue arn | | ||
| ms\_sample\_sqs\_sqs\_queue\_id | sqs queue id | | ||
| ms\_sample\_sqs\_sqs\_queue\_name | sqs queue id | | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module "ms_sample_sqs" { | ||
source = "../../" | ||
|
||
env = "playground" | ||
name = "sample" | ||
|
||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# SQS | ||
# This module re-uses an implementation of the module https://github.com/cloudposse/terraform-aws-sqs | ||
# ------------------------------------------------------------------------------------------------- | ||
# `sqs_enabled` is set to true to enable SQS | ||
sqs1_enabled = true | ||
|
||
tags = { | ||
Name = "sample" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
output "ms_sample_sqs_sqs_queue_arn" { | ||
value = module.ms_sample_sqs.sqs1_queue_arn | ||
description = "sqs queue arn" | ||
} | ||
|
||
output "ms_sample_sqs_sqs_queue_id" { | ||
value = module.ms_sample_sqs.sqs1_queue_id | ||
description = "sqs queue id" | ||
} | ||
|
||
output "ms_sample_sqs_sqs_queue_name" { | ||
value = module.ms_sample_sqs.sqs1_queue_name | ||
description = "sqs queue id" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
provider "aws" { | ||
version = "~> 3.0.0" | ||
region = "eu-central-1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
} |
Oops, something went wrong.