Actions/Conditions must be prefaced by a vendor, e.g., iam, sdb, ec2, etc.
for action in statement[key]: self._validate_action_prefix(action) @staticmethod def _validate_action_prefix(action): action_parts = action.split(":") if len(action_parts) == 1 and action_parts != "*": raise MalformedPolicyDocument( "Actions/Conditions must be prefaced by a vendor, e.g., iam, sdb, ec2, etc." ) elif len(action_parts) > 2: raise MalformedPolicyDocument( "Actions/Condition can contain only one colon." ) vend
NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Pleaseto post fix
Other moto exceptions
3The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access.
2Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'