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
source_policy_documents variable ignored if no other internal source policies are generated, i.e. if all of allow_encrypted_uploads_only, allow_ssl_requests_only are set to false.
I suspect this happens because source_policy_documents below becomes empty and override_policy_documents is being ignored:
Found a bug? Maybe our Slack Community can help.
Describe the Bug
source_policy_documents
variable ignored if no other internal source policies are generated, i.e. if all ofallow_encrypted_uploads_only
,allow_ssl_requests_only
are set tofalse
.I suspect this happens because
source_policy_documents
below becomes empty andoverride_policy_documents
is being ignored:terraform-aws-s3-bucket/main.tf
Lines 439 to 444 in 618a71b
Expected Behavior
source_policy_documents
attached to the bucket.Steps to Reproduce
Steps to reproduce the behavior:
Applying terraform doesn't add any source policy document.
Changing
allow_encrypted_uploads_only
orallow_ssl_requests_only
totrue
fixes the problem.Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
The text was updated successfully, but these errors were encountered: