Skip to content

aws_apprunner: can't retrieve AutoScalingConfigurationArn attribute #34275

Open
@jaus14

Description

@jaus14

Describe the bug

Until now, I had been defining aws_apprunner’s AutoScalingConfiguration and using that definition during the creation of the App Runner service via CDK without any problems. However, starting today, I began encountering the following error and the deployment is now failing

Regression Issue

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

Last Known Working CDK Version

2.1012.0

Expected Behavior

pass this code

Current Behavior

Error

Unable to retrieve AutoScalingConfigurationArn attribute for AWS::AppRunner::AutoScalingConfiguration, with error message Error occurred during operation 'Failed to list tags'.

Reproduction Steps

autoScalingConf definition

    const autoScalingConf = new aws_apprunner.CfnAutoScalingConfiguration(
      this,
      "AppRunnerAutoScalingConfiguration",
      {
        autoScalingConfigurationName: "apprunner-autoscaling",
        minSize: 1,
        maxSize: env.APP_RUNNER_MAX_SIZE,
      }
    )

use autoScalingConf to AppRunner definition

new aws_apprunner.CfnService(this, "AppRunnerService", {
    ...
    autoScalingConfigurationArn:
        autoScalingConf.attrAutoScalingConfigurationArn,
    ...
}

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.1012.0 (build e4c1f15)

Framework Version

No response

Node.js Version

v22.12.0

OS

macOS Sequoia

Language

TypeScript

Language Version

TypeScript (5.6.3)

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions