devd
devd

Reputation: 392

How to attach volumes using a template in AWS

I want to attach few existing volumes using a template in AWS CloudFormation. Is it possible to do it? Any help or pointer would be greatly appreciated.

TIA

Upvotes: 0

Views: 169

Answers (1)

Gonfva
Gonfva

Reputation: 1468

Yes, it is possible. Use AWS::EC2::VolumeAttachment in your CFN template.

See additional info at

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html

Upvotes: 2

Related Questions