Skip to content

v1.0.0 Accept policy as fully defined object

Compare
Choose a tag to compare
@Nuru Nuru released this 11 Jun 00:04
· 12 commits to main since this release
660de2d

Breaking Change (updated)

The iam_policy_statements input has been converted from type = any to type = map(object), as the documented (though not enforced by Terraform) input type was a map of IAM Policy Statement objects. While the object type was backward compatible, in practice, the input accepted a list as well as a map, and the majority of (later) surveyed users of this module were providing lists. This release broke those clients. Version 2.0.0 of this module reverts the type change and restores backward compatibility with pre-1.0.0 versions of this module.

The new iam_policy input is of type object. In v2.0.0, this is changed to type list(object).

What's Changed

  • feat: define iam_policy_statements object syntax by @gberenice in #26

New Contributors

Full Changelog: 0.4.0...1.0.0