provider/aws: Add Tags to Test AMIs to help debug leaks

pull/6548/merge
clint shryock 10 years ago
parent dd0ec5258b
commit 5add35d654

@ -147,6 +147,9 @@ resource "aws_instance" "test" {
// one snapshot in our created AMI.
ami = "ami-408c7f28"
instance_type = "t1.micro"
tags {
Name = "testAccAWSAMIFromInstanceConfig_TestAMI"
}
}
resource "aws_ami_from_instance" "test" {

@ -1045,6 +1045,9 @@ resource "aws_instance" "foo" {
ami = "ami-408c7f28"
instance_type = "t1.micro"
key_name = "${aws_key_pair.debugging.key_name}"
tags {
Name = "testAccInstanceConfigKeyPair_TestAMI"
}
}
`

Loading…
Cancel
Save