Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Mar 09:56
· 12 commits to main since this release

What's Changed

In the OPA ruleset v0.8, we upgraded the embedded OPA version from v0.70 to v1.2. This means that some deprecated features will no longer be available and policies will need to be rewritten. See also https://www.openpolicyagent.org/docs/v1.2.0/v0-upgrade

If you use v0 syntax (without if and contains keywords in rule head declarations), it is recommended to use opa fmt --write --v0-v1 to automatically rewrite your policy files. See also https://www.openpolicyagent.org/docs/v1.2.0/v0-upgrade/#upgrading-rego

Another new feature worth mentioning is support for ephemeral resources, which was added in Terraform v1.10. You can get "ephemeral" blocks by using the terraform.ephemeral_resources function. Also, because ephemeral attribute has been added in an expression, you can write policies such as "passwords must be ephemeral".

Breaking Changes

Enhancements

  • Bump github.com/terraform-linters/tflint-plugin-sdk from 0.20.0 to 0.22.0 by @dependabot in #125
  • Add support for ephemeral mark by @wata727 in #133
  • Add terraform.ephemeral_resources function by @wata727 in #135

Chores

Full Changelog: v0.7.0...v0.8.0