Merge pull request #5986 from hashicorp/aws-eb-env-tests

provider/aws: ElasticBeanstalk environment tests now use a less brittle test env case
This commit is contained in:
Paul Stack 2016-04-01 17:26:41 -05:00
commit dd2c32ef2a
1 changed files with 3 additions and 4 deletions

View File

@ -189,8 +189,7 @@ resource "aws_elastic_beanstalk_application" "tftest" {
resource "aws_elastic_beanstalk_environment" "tfenvtest" { resource "aws_elastic_beanstalk_environment" "tfenvtest" {
name = "tf-test-name" name = "tf-test-name"
application = "${aws_elastic_beanstalk_application.tftest.name}" application = "${aws_elastic_beanstalk_application.tftest.name}"
solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4" solution_stack_name = "64bit Amazon Linux running Python"
#solution_stack_name =
} }
` `
@ -204,7 +203,7 @@ resource "aws_elastic_beanstalk_environment" "tfenvtest" {
name = "tf-test-name" name = "tf-test-name"
application = "${aws_elastic_beanstalk_application.tftest.name}" application = "${aws_elastic_beanstalk_application.tftest.name}"
tier = "Worker" tier = "Worker"
solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.4 running Go 1.4" solution_stack_name = "64bit Amazon Linux running Python"
} }
` `
@ -219,7 +218,7 @@ resource "aws_elastic_beanstalk_environment" "tfenvtest" {
name = "tf-test-name" name = "tf-test-name"
application = "${aws_elastic_beanstalk_application.tftest.name}" application = "${aws_elastic_beanstalk_application.tftest.name}"
cname_prefix = "%s" cname_prefix = "%s"
solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.4 running Go 1.4" solution_stack_name = "64bit Amazon Linux running Python"
} }
`, randString) `, randString)
} }