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

AWS::Glue::Job should allow tags to be updated

Open
#306 8 comments 34 reactions 0 assignees View on GitHub
analytics
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

## 1. Title
AWS::Glue::Job should allow tags to be updated

## 2. Scope of request
Glue jobs created via CloudFormation ignore Tags values update in consecutive stack update runs. Stack update does not fail, but Glue job tags don't get updated.

## 3.Expected behavior
In Update, it should detect that tag value have been changed and update Glue Job tags correspondingly.

## 4. Test case recommendation (optional)
Create any Glue Job including tags via CloudFormation. Example below.
```
GlueJob:
Type: AWS::Glue::Job
Properties:
Role: ...
DefaultArguments:
....
MaxRetries: "0"
GlueVersion: "1.0"
Description: "Glue Job"
Command:
Name: "pythonshell"
ScriptLocation: ...
PythonVersion: 3
ExecutionProperty:
MaxConcurrentRuns: 1
Name: GlueJob
Tags:
CostCenter:
Ref: TagCostCenter
Department:
Ref: TagDepartment
Environment:
Ref: TagEnvironment
IO:
Ref: TagIO
Project:
Ref: ProjectName
```
Then try updating any tag value and perform stack update. Observed behavior is that stack update does not fail, although tags update is ignored.

## 5. Links to existing API doc (optional)
- https://docs.aws.amazon.com/cli/latest/reference/glue/update-job.html
- https://docs.aws.amazon.com/cli/latest/reference/glue/tag-resource.html
- https://docs.aws.amazon.com/cli/latest/reference/glue/untag-resource.html

## 6. Category
Analytics (Glue)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.