Skip to content

module fails with aws provider v6.0 #291

@oleg-opsfleet

Description

@oleg-opsfleet

Description

Hello team and separate thanks to all contributors here.
After new aws provider v6.0 was released, the module now fails with

19:38:49.293 STDERR [ecs/services] terraform: │ Error: Unsupported block type
19:38:49.293 STDERR [ecs/services] terraform: │ 
19:38:49.293 STDERR [ecs/services] terraform: │   on ../../modules/service/main.tf line 635, in resource "aws_ecs_task_definition" "this":
19:38:49.293 STDERR [ecs/services] terraform: │  635:   dynamic "inference_accelerator" {
19:38:49.293 STDERR [ecs/services] terraform: │ 
19:38:49.293 STDERR [ecs/services] terraform: │ Blocks of type "inference_accelerator" are not expected here.
19:38:49.293 STDERR [ecs/services] terraform: ╵

This happens because this field was deleted from new version

resource/aws_ecs_task_definition: Remove inference_accelerator attribute. Amazon Elastic Inference reached end of life on April, 2024. (https://github.com/hashicorp/terraform-provider-aws/issues/42137)

When it will be possible, please update the module. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions