Skip to content

Commit

Permalink
f-aws_ecs_service: support for EBS
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-goenka committed Apr 21, 2024
1 parent ff9c2ba commit 46d5c5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/service/ecs/task_definition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ func TestAccECSTaskDefinition_configuredAtLaunch(t *testing.T) {
Config: testAccTaskDefinitionConfig_configuredAtLaunch(rName),
Check: resource.ComposeTestCheckFunc(
testAccCheckTaskDefinitionExists(ctx, resourceName, &def),
resource.TestCheckResourceAttr(resourceName, "configure_at_launch", "true"),
resource.TestCheckResourceAttr(resourceName, "volume.#", "1"),
resource.TestCheckResourceAttr(resourceName, "volume.0.configure_at_launch", "true"),
),
},
{
Expand Down Expand Up @@ -1836,7 +1837,10 @@ resource "aws_ecs_task_definition" "test" {
"cpu": 10,
"command": ["sleep","360"],
"memory": 10,
"essential": true
"essential": true,
"mountPoints": [
{"sourceVolume": %[1]q, "containerPath": "/"}
]
}
]
TASK_DEFINITION
Expand Down

0 comments on commit 46d5c5d

Please sign in to comment.