I work with AWS CloudFormation a lot, but I cannot see why this policy creation gets stuck (every time it hangs on CREATE_IN_PROGRESS with no error message). I singled out the one component which gets stuck and tried to deploy that on its own, but it simply does not get created and I cannot see what is wrong with it. The IAM policy is an inline policy on a group with put permissions on a firehose resource, as seen below:
Resources:
MyPolicy:
Properties:
Groups:
- MyGroup
PolicyDocument:
Statement:
- Action:
- firehose:PutRecord
Effect: Allow
Resource:
- arn:aws:firehose:eu-central-1:123456789:deliverystream/my-firehose
Version: '2012-10-17'
PolicyName: my-firehose-policy
Type: AWS::IAM::Policy