generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
In 3.1.1 the key_statements attribute that contained a one or more conditions could be defined like:
conditions = [
{
test = "StringEquals"
variable = "kms:CallerAccount"
values = [local.current_account_id]
},
{
test = "StringEquals"
variable = "kms:ViaService"
values = ["sqs.${local.current_region}.amazonaws.com"]
}
]
In 4.0.0 this attribute now needs to be called 'condition'. This was not reported as a breaking change in the changelog. It just silently drops the conditions and could potentially grant to wide of an access.
OpenSrcerer, DanielBallard-JM, aburgel, andrewjkeith and martivo