Hey guys,--I have an EC2 instance that was created with the following:resource "aws_instance" "splunk-master" {ami = "${var.amis-east-ubuntu}"instance_type = "m3.medium"subnet_id = "${aws_subnet.subnet-east-svcs-1.id}"associate_public_ip_address = falseprivate_ip = "${var.static-ips-east-svcs.splunk1}"iam_instance_profile = "ip-svcs"source_dest_check = truedisable_api_termination = trueuser_data = "${file("templates/splunk1-cloud-init-east.yaml")}"key_name = "splunk-v1"security_groups = ["${aws_security_group.gsa-sg-east-svcs-splunk.id}","${aws_security_group.sg-east-svcs-common.id}"]lifecycle {prevent_destroy = false}tags {Name = "splunk-01.domain.local"}ebs_block_device {device_name = "/dev/sdf"volume_type = "gp2"volume_size = "100"}ebs_block_device {device_name = "/dev/sdg"volume_type = "gp2"volume_size = "50"}}We needed to expand the volume to allow for more logs so I added 200G using the following:resource "aws_volume_attachment" "splunk_dev_sdh" {device_name = "/dev/sdh"volume_id = "${aws_ebs_volume.splunk_opt_extend.id}"instance_id = "${aws_instance.splunk-master-east-svcs-1.id}"}resource "aws_ebs_volume" "splunk_opt_extend" {availability_zone = "us-east-1a"size = 200}And did a terraform apply --target aws_volume_attachment. splunk_dev_sdh. The volume was added and aligned to the server, but I fear that I've broken the remainder of the terraform code...When I run a terraform plan without any target, the output states that aws_instance.splunk-master-east-svcs-1 and aws_volume_attachment.splunk_dev_sdh will be recreated. Can you give me some guidance on what I did wrong, or what I'm missing?Thanks!
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-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/f4b272fa-c675-4244-91a6-4afce4daba6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.