You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Describe the bug
Some older terraform modules can create IAM conditions with an array of strings instead of a string. FG_R00252 only checks for strings so conditions with a value of type array will be flagged as a violation.
How you're running Regula
Regula v2.9.2 and Terraform v1.2.8 running against Terraform plan output.
$ regula version
v2.9.2, build b41673e, built with OPA v0.43.1
$ terraform -version
Terraform v1.2.8
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v4.40.0
+ provider registry.terraform.io/hashicorp/time v0.9.1
Operating System
Ubuntu 22.04
Steps to reproduce
terraform init
terraform plan -out plan
terraform show -json plan > plan.json
regula run --no-config --only FG_R00252 -t tf-plan plan.json
Describe the bug
Some older terraform modules can create IAM conditions with an array of strings instead of a string. FG_R00252 only checks for strings so conditions with a value of type array will be flagged as a violation.
How you're running Regula
Regula v2.9.2 and Terraform v1.2.8 running against Terraform plan output.
Operating System
Ubuntu 22.04
Steps to reproduce
terraform init terraform plan -out plan terraform show -json plan > plan.json regula run --no-config --only FG_R00252 -t tf-plan plan.json
IaC Configuration
The text was updated successfully, but these errors were encountered: