Skip to content

Commit 42a322b

Browse files
authored
Merge pull request #9 from solutionDrive/name-launch-config
add a name to the launch configuration to better identify it
2 parents a5ca8a7 + 4dc1770 commit 42a322b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

application_cluster/auto_scaling_group.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
resource "aws_launch_configuration" "application_cluster_appserver_launch_configuration" {
2+
name_prefix = "${substr(var.application_cluster_application_name, 0, min(14,length(var.application_cluster_application_name)))}-${substr(var.application_cluster_environment, 0, min(4, length(var.application_cluster_environment)))}-"
23
image_id = "${var.application_cluster_ami_id}"
34
instance_type = "${var.application_cluster_instance_type}"
45
security_groups = ["${var.application_cluster_launch_configuration_security_groups}"]

0 commit comments

Comments
 (0)