Reputation: 39
We are using using cloud formation script to create and setup a windows instance for our application. Instance is created using AWS::AutoScaling::LaunchConfiguration.
Now we have a requirement to attach a previously created volume to this instance using the same cloud formation script. Tried using AWS::EC2::VolumeAttachment but was unsuccessful as we do not have the instance id information that is required.
Any inputs?
Upvotes: 0
Views: 338
Reputation: 1780
My suggestion would be that the AMI which you're using to launch your ASG members should include this volume as part of the image if possible.
Upvotes: 0