Last active
          May 2, 2023 22:38 
        
      - 
      
- 
        Save hendrixroa/691ba7e1773d4d9b5a80963cc805bb79 to your computer and use it in GitHub Desktop. 
    AWS ECS Task definition
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | resource "aws_ecs_task_definition" "main" { | |
| family = "${var.app}-service" | |
| requires_compatibilities = ["FARGATE"] | |
| network_mode = "awsvpc" | |
| execution_role_arn = var.execution_role_arn | |
| cpu = var.cpu_unit | |
| memory = var.memory | |
| container_definitions = data.template_file.main.rendered | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment