Difference between revisions of "Family"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition#family | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition#family | ||
− | + | == Examples == | |
resource "aws_ecs_task_definition" "myservice" { | resource "aws_ecs_task_definition" "myservice" { | ||
family = "myservice" | family = "myservice" | ||
+ | |||
+ | resource "aws_ecs_task_definition" "myservice2" { | ||
+ | family = "myservice2-${var.env}" | ||
== Related == | == Related == |
Latest revision as of 03:40, 21 March 2023
family
(Required) is a unique name for your task definition.
Examples[edit]
resource "aws_ecs_task_definition" "myservice" { family = "myservice"
resource "aws_ecs_task_definition" "myservice2" { family = "myservice2-${var.env}"
Related[edit]
See also[edit]
Advertising: