Skip to content

CDK Migrate/GroundStation: Cannot migrate AWS-provided CloudFormation Template #29752

Open
@trahloff

Description

@trahloff

Describe the bug

When trying to convert the CloudFormation YAML from https://github.com/aws-samples/aws-groundstation-s3-data-delivery to CDK (Typescript), it will not complete and throw an error.

Expected Behavior

The command cdk migrate --stack-name GS-S3-Delivery-Receiver --language typescript --from-path ./cfn/jpss1-gs-to-s3.yml results in CDK code.

Current Behavior

The command results in the error "Multi-line single-quoted string needs to be sufficiently indented".

Reproduction Steps

  1. `$ git clone [email protected]:aws-samples/aws-groundstation-s3-data-delivery.git"
  2. $ cd aws-groundstation-s3-data-delivery
  3. $ cdk migrate --stack-name GS-S3-Delivery-Receiver --language typescript --from-path ./cfn/jpss1-gs-to-s3.yml

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.136.0 (build 94fd33b)

Framework Version

No response

Node.js Version

v20.12.1

OS

macOS 14.4 (23E214) Darwin 23.4.0

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cloudformationRelated to AWS CloudFormationbugThis issue is a bug.cliIssues related to the CDK CLIp1toolkit/migrateRelated to cdk migrate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions