Skip to content

AWS Provider 6 update #198

@djgerry300

Description

@djgerry300

Describe the Bug

After updating the AWS provider to the new major 6.x version, the module is't usable anymore due to a deprecated dynamic block.

 Error: Unsupported block type
│ 
│   on .terraform/modules/ecs/modules/service/main.tf line 631, in resource "aws_ecs_task_definition" "this":
│  631:   dynamic "inference_accelerator" {
│ 
│ Blocks of type "inference_accelerator" are not expected here.

See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-6-upgrade#data-source-aws_ecs_task_definition.

Expected Behavior

The module is usable when bumping the AWS terraform provider to major version 6.

Steps to Reproduce

Update AWS provider to version 6.
Try a terraform plan using this module.

Screenshots

No response

Environment

  • OSX
  • Terraform 1.12.2
  • AWS provider 6.3.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions