Skip to content

aws_ecs_task_definition invalid: volume must be a block not an attribute #20

Closed
@chgerkens

Description

@chgerkens

Error: Unsupported argument

on .terraform/modules/my-task-definition/main.tf line 181, in resource "aws_ecs_task_definition" "ecs_task_definition":
181: volume = "${var.volumes}"

An argument named "volume" is not expected here. Did you mean to define a
block of type "volume"?

Refer to:
https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html#volume-block-arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions