-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to manage AWS_EBS_VOLUME #2043
Comments
@julienlavergne unless I'm missing something, we don't have support for this yet. Seems like we could use an @catsby thing you might be able to swoop in to the rescue? Seems like it should be a relatively simple one. Maybe even @cbednarski would like to jump in and take a stab at it. 👯 |
That would be great and I think it can answer to many simple cases (ensuring ebs resources persistence when you modify the infrastructure). -- On May 22, 2015 at 3:26:44 PM, Paul Hinze ([email protected]) wrote: @julienlavergne unless I'm missing something, we don't have support for this yet. Seems like we could use an aws_volume_attachment resource. @catsby thing you might be able to swoop in to the rescue? Seems like it should be a relatively simple one. Maybe even @cbednarski would like to jump in and take a stab at it. — |
Is this a duplicate of #2019 ? |
I think this is an example of the behavior we're expecting:
note that |
@uxp I'm working on this: resource "aws_instance" "web" {
ami = "ami-21f78e11"
instance_type = "t1.micro"
tags {
Name = "HelloWorld"
}
}
resource "aws_ebs_volume" "example" {
availability_zone = "${aws_instance.web.availability_zone}"
size = 1
}
resource "aws_volume_attachment" "ebs_att" {
device_name = "/dev/sdh"
volume_id = "${aws_ebs_volume.example.id}"
instance_id = "${aws_instance.web.id}"
} |
Oh perfect. Yes. I know the correct syntax, I was trying to convey the behavior one might expect given an Looks like I'm late to the party anyways. Thanks, and sorry for the noise. |
not noise, clarity that my approach is what you're expecting 😄 |
Just i talked to phinze and the work is in progress :-) Thx dev team Julien
|
I read that and that seems perfect as solution ;) |
the @catsby approach is really good |
any commit? |
Closing. Follow #2050 if you're interested 😄 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
I have a question: in my AWS infrastructure I want to attach a separated ebs volume (created with AWS_EBS_VOLUME resource) to one EC2 instance (created by AWS_INSTANCE resource); But I don't find any information how to do that;
The documentation doesn't have an example. Is it already possible?
Thx
The text was updated successfully, but these errors were encountered: