Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

aws_mediaconvert: CfnJobTemplate cannot disable tags #29755

Closed
ShawnOY opened this issue Apr 8, 2024 · 5 comments
Closed

aws_mediaconvert: CfnJobTemplate cannot disable tags #29755

ShawnOY opened this issue Apr 8, 2024 · 5 comments
Labels
@aws-cdk/aws-mediaconvert Related to AWS Elemental Media Convert bug This issue is a bug. effort/medium Medium work item – several days of effort p2

Comments

@ShawnOY
Copy link

ShawnOY commented Apr 8, 2024

Describe the bug

CfnJobTemplate will add 3 tags:

  1. aws:cloudformation:stack-name
  2. aws:cloudformation:stack-id
  3. aws:cloudformation:logical-id

If I create a job via template, I will get the error message:
One or more tag keys start with the reserved prefix 'aws:' (case insensitive).

Expected Behavior

The tags add by CDK, it should be pass.

Current Behavior

One or more tag keys start with the reserved prefix 'aws:' (case insensitive).

Reproduction Steps

new mediaconvert.CfnJobTemplate(this, 'MediaHubJobTemplate', {
  name: 'MediaHub',
  // This is not work
  tags: {},
  settingsJson: {
  }
}

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.134.0

Framework Version

No response

Node.js Version

v18.14.2

OS

maxOS Ventura 13.2.1

Language

TypeScript

Language Version

No response

Other information

No response

@ShawnOY ShawnOY added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 8, 2024
@github-actions github-actions bot added the @aws-cdk/aws-mediaconvert Related to AWS Elemental Media Convert label Apr 8, 2024
@pahud
Copy link
Contributor

pahud commented Apr 8, 2024

Did you mean even you specify empty tags, the job template will still have the 3 build-in tags?

aws:cloudformation:stack-name
aws:cloudformation:stack-id
aws:cloudformation:logical-id
new mediaconvert.CfnJobTemplate(this, 'MediaHubJobTemplate', {
  name: 'MediaHub',
  // This is not work
  tags: {},
  settingsJson: {
  }
}

@pahud pahud added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Apr 8, 2024
@ShawnOY
Copy link
Author

ShawnOY commented Apr 9, 2024

Did you mean even you specify empty tags, the job template will still have the 3 build-in tags?

aws:cloudformation:stack-name
aws:cloudformation:stack-id
aws:cloudformation:logical-id
new mediaconvert.CfnJobTemplate(this, 'MediaHubJobTemplate', {
  name: 'MediaHub',
  // This is not work
  tags: {},
  settingsJson: {
  }
}

Yes

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Apr 9, 2024
@ShawnOY
Copy link
Author

ShawnOY commented Apr 18, 2024

@pahud
I reported the issue to AWS support, and they have resolved it.

@ShawnOY ShawnOY closed this as completed Apr 18, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@aws-cdk-automation
Copy link
Collaborator

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

@aws aws locked as resolved and limited conversation to collaborators Jul 25, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
@aws-cdk/aws-mediaconvert Related to AWS Elemental Media Convert bug This issue is a bug. effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

No branches or pull requests

3 participants