Skip to content

migrate: stacks do not generate from from CloudWatch alarms due to tags property #241

Open
@robertkatz4

Description

@robertkatz4

Describe the bug

stacks do not generate from from CloudWatch alarms due to tags property

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

I wanted to generate a stack from a generated CloudFormation template, including a CloudWatch::Alarm, with the cdk migrate command

Current Behavior

Stack could not be generated because Tags is not a valid property for resource CloudWatchAlarm

Reproduction Steps

Hard to reproduce exactly... going from ClickOps to IaC is the business purpose.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.171.0 (build 4957967)

Framework Version

No response

Node.js Version

v22.9.0

OS

MacOS 12.6.8 (really)

Language

TypeScript

Language Version

v22.9.0

Other information

cdk migrate --stack-name abc123-1 --from-path ./abc123-925472.yaml --language typescript
This command is an experimental feature.
 ❌  Migrate failed for `abc123-1`: Stack could not be generated because Tags is not a valid property for resource CloudWatchAlarm.... of type AWS::CloudWatch::Alarm

aws/aws-cdk#29759
perhaps "command is experimental" should be taken seriously.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions