aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 53 forks source link

AWS::MediaPackageV2::Channel return value "IngestEndpoints" not accessible #1902

Open SuryaTeja18 opened 6 months ago

SuryaTeja18 commented 6 months ago

Name of the resource

Other

Resource Name

AWS::MediaPackageV2::Channel

Issue Description

Created a stack with sample template as below:

Resources:
 Channel:
  DeletionPolicy: Retain
  Type: AWS::MediaPackageV2::Channel
  Properties:
   ChannelName: "mychannel1"
   ChannelGroupName: "channelgrp"

added outputs in different combinations, all of them threw error "Template format error: Every Value member must be a string."

example:

1.
Outputs:
 Ingests:
  Value: !GetAtt Channel.IngestEndpoints

2.
Outputs:
 Ingests:
  Value: !Select [0, !GetAtt Channel.IngestEndpoints]

Expected Behavior

Ingest endpoints either having separate return values as endpoint1, endpoint2 or returning a list of two strings so that users can parse it using !Select and access the values.

Observed Behavior

The format of the output object currently when trying to access !GetAtt .IngestEndpoints is unknown. This is a potential bug that needs to be addressed and fixed so that users would be able to make use of this return value elsewhere in the template/other resources, etc.

Test Cases

Steps to replicate the issue:

Other Details

No response