craigmattson.net - Craig Mattson's Blog :: Blog Search - Page 1

Example domain paragraphs

Amazon CDK significantly reduces the effort to build and maintain CloudFormation templates where many intricate activities and connected resources are required, however I find myself constantly at battle with Level 2 constructs not supporting some - what I'd consider - fairly fundamental configurations particularly for configuring EC2 instances in this nature.

Today's roadblock was around provisioning EC2 instances using the L2 Construct to provision additional secondary IP addresses in a way that won't cause drift, or falling back to a total-Cfn* L1 Constructs to build EC2 instances.

Please note that this is a super-hacky way of achieving this and until such time that issue #19326 is resolved , this appears to be my only workaround without breaking the connections attribute for further attaching Security Groups or breaking network connectivity.

Links to craigmattson.net (1)