Difference between revisions of "Family"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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" {
 +
  family = "myservice"
  
resource "aws_ecs_task_definition" "service" {
+
resource "aws_ecs_task_definition" "myservice2" {
family = "myservice"
+
  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: