Hi,
I try to create a Firehose deliverystream in my serverless.yml but I get an error saying:
Serverless Error ---------------------------------------
An error occurred while provisioning your stack: MessageDeliveryStream
- Encountered unsupported property RoleArn.
BucketARN is ok in Cloudformation template and RoleArn is used many times in Lambdas for example.
MessageDeliveryStream:
Type: "AWS::KinesisFirehose::DeliveryStream"
Properties:
DeliveryStreamName: MessageDeliveryStream-${{self:custom.versionId}}-${{self:provider.stage}}
S3DestinationConfiguration:
#BucketARN: 'arn:aws:s3:::${{self:custom.customerId}}-${{self:custom.projectId}}-datalake-${{self:custom.versionId}}-${{self:provider.stage}}'
BucketARN:
Fn::Join:
- ''
- - 'arn:aws:s3:::'
- Ref: FirehoseDatalake
BufferingHints:
IntervalInSeconds: "60"
SizeInMBs: "50"
CompressionFormat: "UNCOMPRESSED"
Prefix: "raw/"
#RoleArn: { Fn::GetAtt: [ IamRoleLambdaExecution, Arn ] }
RoleArn:
Fn::GetAtt:
- "IamRoleLambdaExecution"
- "Arn"
CloudWatchLoggingOptions:
Enabled: true
LogGroupName: "MessageDeliveryStream"
LogStreamName: "s3Backup"
I just don’t get it what is wrong… any suggestions?
Your Environment Information -----------------------------
OS: darwin
Node Version: 4.4.7
Serverless Version: 1.11.0