Skip to content

Commit 2c364b9

Browse files
committed
Added config source envvar
1 parent 750a903 commit 2c364b9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,12 @@ resource "aws_elastic_beanstalk_environment" "default" {
611611
value = "${var.name}"
612612
}
613613

614+
setting {
615+
namespace = "aws:elasticbeanstalk:application:environment"
616+
name = "CONFIG_SOURCE"
617+
value = "${var.config_source}"
618+
}
619+
614620
setting {
615621
namespace = "aws:elasticbeanstalk:managedactions"
616622
name = "ManagedActionsEnabled"

variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ variable "loadbalancer_certificate_arn" {
2222
default = ""
2323
}
2424

25-
2625
variable "zone_id" {
2726
default = ""
2827
}
@@ -31,6 +30,10 @@ variable "settings" {
3130
default = ""
3231
}
3332

33+
variable "config_source" {
34+
default = ""
35+
}
36+
3437
variable "security_groups" {
3538
type = "list"
3639
}

0 commit comments

Comments
 (0)