-
Notifications
You must be signed in to change notification settings - Fork 110
Not working with aws terraform modules #231
Comments
terraform show -json tfplan > plan.json
regula run plan.json FG_R00100: S3 bucket policies should only allow requests that use HTTPS [Medium] |
applied bucket policy:
|
Hi @ronaldoalvescosta, thanks for opening this issue! It looks like we're having trouble evaluating the HCL code inside this module. I took some time to try and reproduce this issue. I was able to reproduce the module "s3-bucket" {
source = "terraform-aws-modules/s3-bucket/aws"
version = "2.9.0"
bucket = var.res_bucket_name
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
attach_deny_insecure_transport_policy = true
} However, I could not reproduce the issue around In either case, thanks for sharing the code and including the details in a way that makes it easy to try for me, and I'll create a ticket internally to look into and fix these two issues. |
Hello! I´m getting only FG_R00100 now |
Hello!
Regula is reporting problems that do not exists when using TF modules:
regula run:
G_R00229: S3 buckets should have all
block public access
options enabled [High]https://docs.fugue.co/FG_R00229.html
[1]: module.s3_bucket.aws_s3_bucket.this
in ../terraform-aws-s3-bucket\main.tf:5:1
included at s3.tf:6:12
FG_R00100: S3 bucket policies should only allow requests that use HTTPS [Medium]
https://docs.fugue.co/FG_R00100.html
[1]: module.s3_bucket.aws_s3_bucket.this
in ../terraform-aws-s3-bucket\main.tf:5:1
included at s3.tf:6:12
The text was updated successfully, but these errors were encountered: