v0.8.0 #139
wata727
announced in
Announcements
v0.8.0
#139
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
andcontains
keywords in rule head declarations), it is recommended to useopa fmt --write --v0-v1
to automatically rewrite your policy files. See also https://www.openpolicyagent.org/docs/v1.2.0/v0-upgrade/#upgrading-regoAnother 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, becauseephemeral
attribute has been added in an expression, you can write policies such as "passwords must be ephemeral".Breaking Changes
Enhancements
terraform.ephemeral_resources
function by @wata727 in Addterraform.ephemeral_resources
function #135Chores
Full Changelog: v0.7.0...v0.8.0
This discussion was created from the release v0.8.0.
Beta Was this translation helpful? Give feedback.
All reactions