Skip to content

Instantly share code, notes, and snippets.

@pcholakov
Created December 2, 2023 11:23
Show Gist options
  • Save pcholakov/19f3a22ee4793a3a0a65ee9503b0df3f to your computer and use it in GitHub Desktop.
Save pcholakov/19f3a22ee4793a3a0a65ee9503b0df3f to your computer and use it in GitHub Desktop.
// Minimal reproducer for slow AWS::IAM::InstanceProfile resource provisioning
import * as cdk from "aws-cdk-lib";
import * as iam from "aws-cdk-lib/aws-iam";
import { Construct } from "constructs";
const app = new cdk.App();
class Test extends cdk.Stack {
constructor(scope: Construct) {
super(scope, "TestStack");
new iam.InstanceProfile(this, "InstanceProfile");
}
}
new Test(app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment