Skip to content

Commit 6de9c16

Browse files
committed
Fixing error in variable definition
1 parent 85b4758 commit 6de9c16

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Check versions for this module on:
1616
* Terraform Module Registry: <https://registry.terraform.io/modules/cn-terraform/ecs-fargate-task-definition/aws>
1717

1818
module "td" {
19-
source = "cn-terraform/ecs-fargate-task-definition/aws"
20-
version = "1.0.5"
21-
name_preffix = var.name_preffix
22-
profile = var.profile
23-
region = var.region
24-
container_name = "${var.name_preffix}-<NAME>"
25-
container_image = "<IMAGE_NAME>:<IMAGE_TAG>"
26-
container_port = <PORT>
19+
source = "cn-terraform/ecs-fargate-task-definition/aws"
20+
version = "1.0.6"
21+
name_preffix = var.name_preffix
22+
profile = var.profile
23+
region = var.region
24+
container_name = "${var.name_preffix}-<NAME>"
25+
container_image = "<IMAGE_NAME>:<IMAGE_TAG>"
26+
container_port = <PORT>
2727
}
2828

2929
## Input values

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ variable "readonly_root_filesystem" {
157157
}
158158

159159
variable "repository_credentials" {
160-
type = map
160+
type = map(string)
161161
description = "(Optional) Container repository credentials; required when using a private repo. This map currently supports a single key; \"credentialsParameter\", which should be the ARN of a Secrets Manager's secret holding the credentials"
162-
default = {}
162+
default = null
163163
}
164164

165165
variable "secrets" {

0 commit comments

Comments
 (0)