Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions terraform/modules/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ module "cluster" {
platform = module.platform
}

resource "aws_ecs_service" "contracts" {
name = "${local.service_prefix}-contracts"
cluster = module.cluster.this.id
task_definition = aws_ecs_task_definition.contracts.arn
desired_count = 1
launch_type = "FARGATE"
platform_version = "1.4.0"
propagate_tags = "SERVICE"
}
```

<!-- BEGIN_TF_DOCS -->
Expand Down
10 changes: 9 additions & 1 deletion terraform/modules/cluster/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
variable "platform" {
description = "Object that describes standardized platform values."
type = any
type = object({
app = string,
env = string,
kms_alias_primary = object({
target_key_arn = string,
}),
service = string,
is_ephemeral_env = string
})
}

variable "cluster_name_override" {
Expand Down