Skip to content

Commit

Permalink
doc: use terraform registry source
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Bob Massard <[email protected]>
  • Loading branch information
tbobm committed Nov 13, 2021
1 parent 34b2c88 commit e8a170b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Simple Terraform module to deploy an ECS task using AWS Fargate including addons

```hcl
module "ecr" {
source = "../"
source = "tbobm/ecs/aws"
version = "0.0.1"
container = {
image = "particuleio/helloworld"
Expand Down
9 changes: 5 additions & 4 deletions examples/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "ecr" {
source = "../"
module "ecs" {
source = "tbobm/ecs/aws"
version = "0.0.1"

container = {
image = var.container.image
Expand Down Expand Up @@ -30,7 +31,7 @@ variable "container" {
}

output "this" {
value = module.ecr
value = module.ecs
sensitive = true
description = "The ECR module outputs."
description = "The ECS module outputs."
}

0 comments on commit e8a170b

Please sign in to comment.