aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

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

Open
#1,902 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### 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:
- create a sample channel (v2)
- then update the stack to add outputs trying to access [ingest endpoint] value and observe the error.

[ingest endpoint]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#aws-resource-mediapackagev2-channel-return-values:~:text=of%20the%20channel.-,IngestEndpoints,-The%20ingest%20endpoints

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the sample AWS::MediaPackageV2::Channel template and the documented IngestEndpoints return value, then test the Output variants using !GetAtt and !Select. Done means the ingest endpoint value is exposed in a documented, template-usable form, either as separate values or as a list that CloudFormation can consume.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, yaml
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.