Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Add ability to create deny insecure transport policy #77

Merged

Conversation

kostyaplis
Copy link
Contributor

Description

attach_deny_insecure_transport_policy variable introduced to attach a policy that denies non-SSL requests to the bucket.

Motivation and Context

Quite common requirement for secure environments. Could be useful for module users.
implements #43

Breaking Changes

No breaking changes

How Has This Been Tested?

terraform plan/apply/destroy using examples/complete

Found that enabling either attach_elb_log_delivery_policy or attach_deny_insecure_transport_policy on existing bucket results to following error upon aws_s3_bucket_public_access_block.this[0] destruction:

Error: Error putting S3 policy: OperationAborted: A conflicting conditional operation is currently in progress against this resource. Please try again. status code: 409

I understand it is a known issue and not related to introduced functionality. Terraform re-run applies changes successfully.

@antonbabenko antonbabenko merged commit bbd0a00 into terraform-aws-modules:master Apr 9, 2021
@antonbabenko
Copy link
Member

Thank you for this PR!

v1.23.0 has been just released.

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants