File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ resource "aws_security_group" "elasticsearch_sg" {
41
41
}
42
42
43
43
data "template_file" "elasticsearch_master_cloudconfig" {
44
- template = " ${ file (" ${ path . module } /../ resources/userdata.tpl" )} "
44
+ template = " ${ file (" ${ path . module } /resources/userdata.tpl" )} "
45
45
vars {
46
- configuration_script = " ${ base64encode (file (" ${ path . module } /resources/install-unix-tools.sh" ))} "
46
+ configuration_script = " ${ base64encode (file (" ${ path . module } /../ resources/install-unix-tools.sh" ))} "
47
47
cluster_name = " ${ var . ecs_cluster_name } "
48
48
cluster_role = " elasticsearch-master"
49
49
host_name = " ${ lower (var. verbose_name )} -elasticsearch"
@@ -53,9 +53,9 @@ data "template_file" "elasticsearch_master_cloudconfig" {
53
53
}
54
54
55
55
data "template_file" "elasticsearch_data_cloudconfig" {
56
- template = " ${ file (" ${ path . module } /../ resources/userdata.tpl" )} "
56
+ template = " ${ file (" ${ path . module } /resources/userdata.tpl" )} "
57
57
vars {
58
- configuration_script = " ${ base64encode (file (" ${ path . module } /resources/install-unix-tools.sh" ))} "
58
+ configuration_script = " ${ base64encode (file (" ${ path . module } /../ resources/install-unix-tools.sh" ))} "
59
59
cluster_name = " ${ var . ecs_cluster_name } "
60
60
cluster_role = " elasticsearch-data"
61
61
host_name = " ${ lower (var. verbose_name )} -elasticsearch"
@@ -160,4 +160,4 @@ resource "aws_route53_record" "elasticsearch_data_node_dns_records" {
160
160
type = " A"
161
161
ttl = " 60"
162
162
records = [" ${ element (aws_instance. elasticsearch_data_instance . * . private_ip , 0 )} " ]
163
- }
163
+ }
You can’t perform that action at this time.
0 commit comments