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

[AWS::MediaLive::Channel] - [BUG] - input attachment issue during stack update

Open
#2,080 1 comment 9 reactions 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

AWS::MediaLive::Channel

### Resource Name

_No response_

### Issue Description

During CloudFormation stack update, adding new or updating existing input attachment fails.
```
inputId=1047120 is already attached (Service: AWSMediaLive; Status Code: 409; Error Code: ConflictException; Request ID: b0113a97-c361-4e83-bc62-1748f450463f; Proxy: null)
```
No issue updating manually from the AWS Console or via AWS CLI commands

### Expected Behavior

Support adding/updating input attachment via CloudFormation stack updates.

### Observed Behavior

CloudFormation attempts make CREATE api call instead of UPDATE

### Test Cases

Create AWS::MediaLive::Channel with 2 input attachment
1. Try to update one of the attachment
2. Try to add a 3rd attachment

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::MediaLive::Channel update path and reproduce the two listed cases: changing an existing input attachment and adding a third. Compare the CloudFormation behavior with the stated AWS Console or CLI behavior; done means stack updates support both attachment changes without the input-already-attached conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
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.