Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit 0dfeb00

Browse files
authored
Merge pull request #1 from segmentio/worker-docs
worker: add usage docs
2 parents 03aa986 + 08b37ff commit 0dfeb00

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

docs.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,18 @@
501501

502502
# worker
503503

504-
Required Variables.
504+
The worker module creates an ECS service that has no ELB attached.
505+
506+
Usage:
507+
508+
module "my_worker" {
509+
source = "github.com/segmentio/stack"
510+
environment = "prod"
511+
name = "worker"
512+
image = "worker"
513+
cluster = "default"
514+
}
515+
505516

506517

507518
## Inputs

worker/main.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* The worker module creates an ECS service that has no ELB attached.
3+
*
4+
* Usage:
5+
*
6+
* module "my_worker" {
7+
* source = "github.com/segmentio/stack"
8+
* environment = "prod"
9+
* name = "worker"
10+
* image = "worker"
11+
* cluster = "default"
12+
* }
13+
*
14+
*/
15+
16+
117
/**
218
* Required Variables.
319
*/

0 commit comments

Comments
 (0)