Releases: hashicorp/terraform-sentinel-policies
v1.0.1
This release adds two new filter functions in the tfplan-functions module to require a specific key of a specific map to have or not have specific values. See https://github.com/hashicorp/terraform-sentinel-policies/blob/main/common-functions/tfplan-functions/docs/filter_attribute_map_key_contains_items_in_list.md and https://github.com/hashicorp/terraform-sentinel-policies/blob/main/common-functions/tfplan-functions/docs/filter_attribute_map_key_contains_items_not_in_list.md.
A new policy, https://github.com/hashicorp/terraform-sentinel-policies/blob/main/aws/check-ec2-environment-tag.sentinel, uses the second of those functions.
It also adds a new gcp-functions module with a single function to find resources of various types with tags. See https://github.com/hashicorp/terraform-sentinel-policies/blob/main/gcp/gcp-functions/docs/find_resources_with_standard_tags.md.
The https://github.com/hashicorp/terraform-sentinel-policies/blob/main/gcp/enforce-mandatory-labels.sentinel policy has been revised to use the new function.
version 1.0.0
This is the first release of the example Sentinel policies for Terraform Cloud and Terraform Enterprise. These used to be the "third-generation" policies in https://github.com/hashicorp/terraform-guides/tree/master/governance/third-generation. They have been copied to this dedicated repository to make using them as remote sources in Sentinel policy sets easier.