Difference between revisions of "Terraform resource aws ecs task definition: revision"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
 +
 +
resource "aws_ecs_service" "your_service" {
 +
  name            = "your-service-${var.env}-service"
 +
  cluster        = aws_ecs_cluster.your_cluster[[.name]]
 +
  task_definition = "${aws_ecs_task_definition.your_task.family}:${aws_ecs_task_definition.you_task.revision}"
  
  

Revision as of 03:32, 21 March 2023


resource "aws_ecs_service" "your_service" {
  name            = "your-service-${var.env}-service"
  cluster         = aws_ecs_cluster.your_cluster.name
  task_definition = "${aws_ecs_task_definition.your_task.family}:${aws_ecs_task_definition.you_task.revision}"


See also

Advertising: