-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature/s3 tag policies #193
Conversation
@@ -59,6 +59,10 @@ module "apiary" { | |||
} | |||
] | |||
apiary_customer_accounts = ["aws_account_no_1", "aws_account_no_2"] | |||
apiary_customer_condition = <<EOF | |||
"ForAnyValue:StringEquals": {"s3:ExistingObjectTag/security": [ "public"] } , | |||
"StringLike": {"s3:ExistingObjectTag/type": "image*" } |
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 have it as 'OBJECT_TYPE' in my code, but I'll change it to 'type'
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.
variable is generic, we can use OBJECT_TYPE internally, above is just a example to show usage
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.
Oh this is in the README, didn't notice...
📝 Description
Added apiary_consumer_iamroles variable to grant cross account access to IAM roles
Added apiary_customer_condition variable to restrict access using S3 object tags
🔗 Related Issues