Amazon web services – How to switch Elastic IP from one EC2 instance to another using cloudformation?
I am associating an elastic IP to an EC2 instance that i am creating via cloudformation. I am attaching it to my EC2 instance via AWSTemplateFormatVersion: 2010-09-09 Description: Testing stuff Resources: myENI: Type: AWS::EC2::NetworkInterface Properties: SubnetId: <subnet-id> Instance: Type: AWS::EC2::Instance…