We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777d986 commit 773e3f4Copy full SHA for 773e3f4
tools/@aws-cdk/spec2cdk/lib/cdk/resource-decider.ts
@@ -153,15 +153,15 @@ export class ResourceDecider {
153
summary: 'Tag Manager which manages the tags for this resource',
154
},
155
156
- initializer: (_: Expression) =>
+ initializer: (props: Expression) =>
157
new CDK_CORE.TagManager(
158
this.tagManagerVariant(variant),
159
expr.lit(this.resource.cloudFormationType),
160
- expr.UNDEFINED,
+ $E(props)[originalName],
161
expr.object({ tagPropertyName: expr.lit(originalName) }),
162
),
163
cfnValueToRender: {
164
- [originalName]: $this.tags.renderTags($this[rawTagsPropName]),
+ [originalName]: $this.tags.renderTags(),
165
166
167
{
0 commit comments