Skip to content
Snippets Groups Projects

Add an EFS volume into Secure Agent infrastructure

Merged Nuwan Rajika Kumarasiri requested to merge efs into master
Files
6
+ 2
0
@@ -27,6 +27,7 @@ resource "aws_ecs_task_definition" "task" {
cpu = var.fargate_cpu
memory = var.fargate_memory
container_definitions = data.template_file.container.rendered
tags = var.ecs_task_tags
}
resource "aws_ecs_service" "service" {
@@ -35,6 +36,7 @@ resource "aws_ecs_service" "service" {
task_definition = aws_ecs_task_definition.task.arn
desired_count = 1
launch_type = "FARGATE"
tags = var.ecs_service_tags
network_configuration {
security_groups = [
Loading