-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds flag and policy to require all buckets requests to be over SSL #67
Conversation
/test all |
main.tf
Outdated
for_each = var.allow_ssl_requests_only ? [1] : [] | ||
|
||
content { | ||
sid = "ForceSSLOnlyAccess" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like the language of the Sid should match the language of the feature flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@osterman updated
…form-aws-s3-website into only-allow-ssl-requests
/test all |
sid = "AllowSSLRequestsOnly" | ||
effect = "Deny" | ||
actions = ["s3:*"] | ||
resources = [local.bucket_arn, "${local.bucket_arn}/*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bradj we should have updated the bucket ARNs in the other places as well
resources = ["${aws_s3_bucket.default[0].arn}/*"]
what
Adds flag that requires all S3 requests to be over SSL
why
Compliance and security
references
n/a