Restore EBS volume from snapshot with Terraform

1,552 views
Skip to first unread message

Christophe Chirat

unread,
Apr 23, 2017, 9:48:40 PM4/23/17
to Terraform
Hi Folks,

I would like to know if it's possible to build an instance while restoring the EBS volumes from a snapshot, with Terraform.

Thanks for your help.

--
Christophe.

Haydn Dufrene

unread,
Apr 24, 2017, 2:14:32 AM4/24/17
to terrafo...@googlegroups.com
Looks like you can specify a snapshot id on the aws_instance resource (https://www.terraform.io/docs/providers/aws/r/instance.html#snapshot_id). 


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/d632c453-3ca4-4f3e-ba00-1fcaba9f1f05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
CONFIDENTIALITY NOTE

The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.

Reply all
Reply to author
Forward
0 new messages