Skip to content
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

aws_s3_policy_doc_create: support > 1 statement? #69

Open
sckott opened this issue Jul 24, 2024 · 0 comments
Open

aws_s3_policy_doc_create: support > 1 statement? #69

sckott opened this issue Jul 24, 2024 · 0 comments
Labels
later ⌛ Get around to it later

Comments

@sckott
Copy link
Member

sckott commented Jul 24, 2024

aws_s3_policy_doc_create can only handle one statement within the policy doc it creates. However, more than one statement can be in a policy doc.

In our policies file, aws_policy_document_create fxn does support >1 statement by passing in >1 instance of aws_policy_statement.

The reason for the existence of aws_s3_policy_doc_create is that policies for buckets are pretty different b/c buckets are globally unique , such that AWS figures out the region and account ID for you, so the user of sixtyfour doesn't need to pass those in

The question is: should aws_s3_policy_doc_create support > 1 statement?

@sckott sckott added the later ⌛ Get around to it later label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
later ⌛ Get around to it later
Projects
None yet
Development

No branches or pull requests

1 participant