Skip to content

Unable to deploy kinesis, 'Stream' object has no attribute 'get_cfn_attribute' #2000

@abhiamnyuMt

Description

@abhiamnyuMt

cloudforamtio.yaml file

Description: 'Sample kinesis cloudformation'
Parameters:
  TrackType:
    Description: 'Track Type'
    Type: String
    AllowedValues:
      - dev
      - staging
      - prod
    Default: "dev"
  streamName:
    Description: "Stream Name"
    Type: String
  shardCount:
    Description: "Source Queue Name"
    Type: Number
    Default: 1
Resources:
  KinesisStream:
    Type: AWS::Kinesis::Stream
    Properties:
      ShardCount: !Ref shardCount
      Name: !Ref streamName
      RetentionPeriodHours: 168
Outputs:
  streamName:
    Description: "Kinesis stream name"
    Value:
      Ref: "KinesisStream"
  streamARN:
    Description: "Kinesis stream arn"
    Value:
      Fn::GetAtt:
        - "KinesisStream"
        - "Arn"

ERROR:

    return resource.get_cfn_attribute(resource_json["Fn::GetAtt"][1])
AttributeError: 'Stream' object has no attribute 'get_cfn_attribute'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions