aws-cloudformation / aws-cloudformation/cloudformation-cli-java-plugin

Fix misleading `getDesiredResourceTags` behavior

未关闭
#366 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
30
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/blob/75133adfd5b82c347bf31579b09e82750b47cde7/src/main/java/software/amazon/cloudformation/AbstractWrapper.java#L536-L549

Here we claim `getDesiredResourceTags` return User-defined tags. Intuitively readers would assume it's for user tags only.

However, I have noticed system tags such as `aws:cloudformation:stackid` is being added in the returned results while testing my CFN stack. Given we already have `request.getRequestData().getSystemTags()` method for system tags, please consider to either update the code comments explaining why these non User-defined tags are here, or provide another method that will only return user tags to avoid confusions.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。