Skip to content

Version 5.0.0 of the aws provider contains breaking changes for this module #279

Open
@jake-naughton

Description

Describe the Bug

This module fails to build when using AWS provider with version >= v5.0.0

As outlined in the AWS provider release notes:

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

source_json and override_json have been removed -- use source_policy_documents and override_policy_documents, respectively, instead.

Expected Behavior

Should be able to run terraform plan / apply on the module without it failing using AWS provider > v5.0.0

Steps to Reproduce

Set the AWS provider to

required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = ">= 5"
    }
  }

And run terraform plan or apply on this module.

Screenshots

Screen Shot 2023-05-28 at 10 30 47 pm

Environment

  • Module version 0.90.0
  • Terraform version 1.3.9
  • AWS provider version 5.0.0

Additional Context

No response

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