You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Warning at /.../FckNatAsg] desiredCapacity has been configured. Be aware this will reset the size of your AutoScalingGroup on every deployment. See aws/aws-cdk#5215 [ack: @aws-cdk/aws-autoscaling:desiredCapacitySet]
If this is intended, perhaps we can ack this warning in the construct?
@moltar I thought this would be a quick win, but turns out CDK doesn't really make this possible. As a construct publisher, I cannot blanked acknowledge warnings generated by my construct. That acknowledge warning API only works with an instance of a construct, not the class.
Unless there's some other annotation that can be applied to the class (there doesn't appear to be one) this is sadly not doable.
If this is intended, perhaps we can ack this warning in the construct?
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Annotations.html#acknowledgewbrwarningid-message
The text was updated successfully, but these errors were encountered: