aritranagnordcloud
aritranagnordcloud
This is a true blocker for automating CDK Construct creation. We need a way ahead to remove the manual step of cdk bootstrap for 1000 accounts
This is a open existing issue and needs to be resolved.
Use the AWS SDK to query for the id -- Do we have library for AWS Typescript SDK to fetch the values of the cloudformation? I was wondering if there...
Wow. This works like charm! You are awesome!
Here is the error which gets generated on the CDK update : Only one TargetTrackingScaling policy for a given metric specification is allowed. (Service: AWSApplicationAutoScaling; Status Code: 400; Error Code:...
This is happening when we try to update the existing stack with no visible changes. ``` new TargetTrackingScalingPolicy(this, "TargetTrackingScalingPolicy", TargetTrackingScalingPolicyProps.builder() .scalingTarget(iScalableTarget) .targetValue(stackProps.getAutoScalingTargetValue()) .policyName("policy/".concat(service.getServiceName()).concat("/autoscaling").concat(CdkUtils.generateRandomString(3))) .predefinedMetric(PredefinedMetric.ECS_SERVICE_AVERAGE_CPU_UTILIZATION) .scaleInCooldown(Duration.seconds(10)) .scaleOutCooldown(Duration.seconds(10)) .build()); } ``` This...
This issue is similar one described in the following : https://www.reddit.com/r/aws/comments/on8eec/investigating_stack_drift_issue_in_cdk_with_cdk/
Even changing the Autoscaling code as the following does not work ``` ScalableTaskCount scaling = service.autoScaleTaskCount(EnableScalingProps.builder() .maxCapacity(stackProps.getMaxContainer()) .minCapacity(stackProps.getMinContainer()).build()); scaling.scaleOnCpuUtilization("CPUSScaling", CpuUtilizationScalingProps.builder() .policyName("policy/".concat(service.getServiceName()).concat("/autoscaling").concat(CdkUtils.generateRandomString(3))) .scaleInCooldown(Duration.seconds(10)) .scaleOutCooldown(Duration.seconds(10)) .targetUtilizationPercent(stackProps.getAutoScalingTargetValue()) .build()); ``` Same error showing as...
We have an existing CF code which needs to be translated to CDK code. ``` AutoScalingTarget: Type: AWS::ApplicationAutoScaling::ScalableTarget Properties: MinCapacity: !Ref MinContainers MaxCapacity: !Ref MaxContainers ResourceId: !Join ['/', [service, !ImportValue...
> > Also, while doing cdk diff. it shows the list of all the resources that was created and trying to modify them. > > By "all the resources" do...