elasticbeanstalk demo fixes

This commit is contained in:
Edward Viaene
2017-01-05 20:35:52 +00:00
parent 3476e4e9c4
commit 79a3fcacdf
5 changed files with 106 additions and 5 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ resource "aws_elastic_beanstalk_environment" "app-prod" {
setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "IamInstanceProfile"
value = "app-ec2-role"
value = "${aws_iam_instance_profile.app-ec2-role.name}"
}
setting {
namespace = "aws:autoscaling:launchconfiguration"
@@ -45,7 +45,7 @@ resource "aws_elastic_beanstalk_environment" "app-prod" {
setting {
namespace = "aws:elasticbeanstalk:environment"
name = "ServiceRole"
value = "aws-elasticbeanstalk-service-role"
value = "${aws_iam_role.elasticbeanstalk-service-role.name}"
}
setting {
namespace = "aws:ec2:vpc"