-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make all ? #2
Comments
Hi Jarvis, |
Hi there, yes, got that part figured out. I was in a computer that did not
allow 'make', i got that part. Now after the apply (creating the
environment, in the TF output, I seem to get the following error: Also put
it on a file here.
null_resource.generate_vpc_2_conf: Creating...
triggers.%: "" => "2"
triggers.configuration: "" => "<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n<vpn_connection id=\"vpn-0a34d40af07bd\">\n
<customer_gateway_id>cgw-0591a8352d2c054</customer_gateway_id>\n
<vpn_gateway_id>vgw-03d216dba7ef77</vpn_gateway_id>\n
<vpn_connection_type>ipsec.1</vpn_connection_type>\n <ipsec_tunnel>\n
<customer_gateway>\n <tunnel_outside_address>\n
<ip_address>18.222.217.85</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.146</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>65013</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </customer_gateway>\n <vpn_gateway>\n
<tunnel_outside_address>\n
<ip_address>18.218.85.95</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.222.57.145</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>64512</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </vpn_gateway>\n <ike>\n
<authentication_protocol>sha1</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>28800</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>main</mode>\n
<pre_shared_key>hWWY6K2CqGmHqqJiqsMCVr16toP3YUvw</pre_shared_key>\n
</ike>\n <ipsec>\n <protocol>esp</protocol>\n
<authentication_protocol>hmac-sha1-96</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>3600</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n
<fragmentation_before_encryption>true</fragmentation_before_encryption>\n
<tcp_mss_adjustment>1379</tcp_mss_adjustment>\n
<dead_peer_detection>\n <interval>10</interval>\n
<retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n
</ipsec_tunnel>\n <ipsec_tunnel>\n <customer_gateway>\n
<tunnel_outside_address>\n
<ip_address>18.221..85</ip_address>\n </tunnel_outside_address>\n
<tunnel_inside_address>\n
<ip_address>169.254.57.194</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>65013</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </customer_gateway>\n <vpn_gateway>\n
<tunnel_outside_address>\n <ip_address>52.15..13</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.193</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>64512</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </vpn_gateway>\n <ike>\n
<authentication_protocol>sha1</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>28800</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>main</mode>\n
<pre_shared_key>Ebdh6hmLsLYySJvyh9uqvUBfJP1G0f9a</pre_shared_key>\n
</ike>\n <ipsec>\n <protocol>esp</protocol>\n
<authentication_protocol>hmac-sha1-96</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>3600</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n
<fragmentation_before_encryption>true</fragmentation_before_encryption>\n
<tcp_mss_adjustment>1379</tcp_mss_adjustment>\n
<dead_peer_detection>\n <interval>10</interval>\n
<retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n
</ipsec_tunnel>\n</vpn_connection>"
triggers.test@: "" => "test@"
module.vpc_2.aws_route_table.public: Modifications complete after 1s (ID:
rtb-08c9461fb36a84)
module.vpc_2.aws_subnet.public[0]: Modifying... (ID: subnet-03b8c1a3c92c79)
tags.Name: "-transit-vpc-2-public-us-east-2a" =>
"-transit-vpc-2-public-us-east-2a"
null_resource.generate_vpc_2_conf: Provisioning with 'local-exec'...
module.vpc_2.aws_internet_gateway.this: Modifications complete after 0s
(ID: igw-09e071d93c24e4770)
null_resource.generate_vpc_2_conf (local-exec): Executing: ["cmd" "/C"
"echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<vpn_connection
id=\"vpn-0a34d40a6e7bd\">\n
<customer_gateway_id>cgw-0591a835c2d2c054</customer_gateway_id>\n
<vpn_gateway_id>vgw-03dbf42a7ef77</vpn_gateway_id>\n
<vpn_connection_type>ipsec.1</vpn_connection_type>\n <ipsec_tunnel>\n
<customer_gateway>\n <tunnel_outside_address>\n
<ip_address>18.224.215.85</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.146</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>65013</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </customer_gateway>\n <vpn_gateway>\n
<tunnel_outside_address>\n
<ip_address>18.218.85.95</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.145</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>64512</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </vpn_gateway>\n <ike>\n
<authentication_protocol>sha1</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>28800</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>main</mode>\n
<pre_shared_key>hWWY6K2CqGmHqqJiqsMCVr16toP3YUvw</pre_shared_key>\n
</ike>\n <ipsec>\n <protocol>esp</protocol>\n
<authentication_protocol>hmac-sha1-96</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>3600</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n
<fragmentation_before_encryption>true</fragmentation_before_encryption>\n
<tcp_mss_adjustment>1379</tcp_mss_adjustment>\n
<dead_peer_detection>\n <interval>10</interval>\n
<retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n
</ipsec_tunnel>\n <ipsec_tunnel>\n <customer_gateway>\n
<tunnel_outside_address>\n
<ip_address>18.221.217.85</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.194</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>65013</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </customer_gateway>\n <vpn_gateway>\n
<tunnel_outside_address>\n
<ip_address>52.15.254.13</ip_address>\n
</tunnel_outside_address>\n <tunnel_inside_address>\n
<ip_address>169.254.57.193</ip_address>\n
<network_mask>255.255.255.252</network_mask>\n
<network_cidr>30</network_cidr>\n </tunnel_inside_address>\n
<bgp>\n <asn>64512</asn>\n <hold_time>30</hold_time>\n
</bgp>\n </vpn_gateway>\n <ike>\n
<authentication_protocol>sha1</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>28800</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>main</mode>\n
<pre_shared_key>Ebdh6hmLsLYySJvyh9uqvUBfJP1G0f9a</pre_shared_key>\n
</ike>\n <ipsec>\n <protocol>esp</protocol>\n
<authentication_protocol>hmac-sha1-96</authentication_protocol>\n
<encryption_protocol>aes-128-cbc</encryption_protocol>\n
<lifetime>3600</lifetime>\n
<perfect_forward_secrecy>group2</perfect_forward_secrecy>\n
<mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n
<fragmentation_before_encryption>true</fragmentation_before_encryption>\n
<tcp_mss_adjustment>1379</tcp_mss_adjustment>\n
<dead_peer_detection>\n <interval>10</interval>\n
<retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n
</ipsec_tunnel>\n</vpn_connection>' > vpc-2-vpn-config.vpn.xml"]
module.vpc_2.aws_subnet.public[1]: Modifications complete after 1s (ID:
subnet-07d4dfeb1ef3709bd)
null_resource.generate_vpc_2_conf (local-exec): The syntax of the command
is incorrect.
module.vpc_2.aws_vpn_gateway.this: Modifications complete after 1s (ID:
vgw-03f716dbf41a7ef77)
module.vpc_2.aws_subnet.public[0]: Modifications complete after 1s (ID:
subnet-03b9c1a23a3c92c79)
Error: Error applying plan:
2 error(s) occurred:
* null_resource.vpc_1_generate_configuration: 1 error(s) occurred:
* Error running command 'echo '<?xml version="1.0" encoding="UTF-8"?>
<vpn_connection id="vpn-0d262eb794bd22a39">
<customer_gateway_id>cgw-0261a8355c2d2c054</customer_gateway_id>
<vpn_gateway_id>vgw-0f3ce34fc42c03511</vpn_gateway_id>
<vpn_connection_type>ipsec.1</vpn_connection_type>
<ipsec_tunnel>
<customer_gateway>
<tunnel_outside_address>
<ip_address>18.221.201.85</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.51.98</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>65013</asn>
<hold_time>30</hold_time>
</bgp>
</customer_gateway>
<vpn_gateway>
<tunnel_outside_address>
<ip_address>13.58.83.125</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.51.97</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>64512</asn>
<hold_time>30</hold_time>
</bgp>
</vpn_gateway>
<ike>
<authentication_protocol>sha1</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>28800</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>main</mode>
<pre_shared_key>6ZVRYiHSGegktTasaqqKqKAGmdlpLubMB</pre_shared_key>
</ike>
<ipsec>
<protocol>esp</protocol>
<authentication_protocol>hmac-sha1-96</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>3600</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>tunnel</mode>
<clear_df_bit>true</clear_df_bit>
<fragmentation_before_encryption>true</fragmentation_before_encryption>
<tcp_mss_adjustment>1379</tcp_mss_adjustment>
<dead_peer_detection>
<interval>10</interval>
<retries>3</retries>
</dead_peer_detection>
</ipsec>
</ipsec_tunnel>
<ipsec_tunnel>
<customer_gateway>
<tunnel_outside_address>
<ip_address>18.222.217.85</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.56.162</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>65013</asn>
<hold_time>30</hold_time>
</bgp>
</customer_gateway>
<vpn_gateway>
<tunnel_outside_address>
<ip_address>18.216.91.208</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.55.161</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>64512</asn>
<hold_time>30</hold_time>
</bgp>
</vpn_gateway>
<ike>
<authentication_protocol>sha1</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>28800</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>main</mode>
<pre_shared_key>Ut.BLvxl5OkbKRwhb3T1KLm4zqb_m_Ft</pre_shared_key>
</ike>
<ipsec>
<protocol>esp</protocol>
<authentication_protocol>hmac-sha1-96</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>3600</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>tunnel</mode>
<clear_df_bit>true</clear_df_bit>
<fragmentation_before_encryption>true</fragmentation_before_encryption>
<tcp_mss_adjustment>1379</tcp_mss_adjustment>
<dead_peer_detection>
<interval>10</interval>
<retries>3</retries>
</dead_peer_detection>
</ipsec>
</ipsec_tunnel>
</vpn_connection>' > vpc-1-vpn-config.vpn.xml': exit status 1. Output: The
syntax of the command is incorrect.
* null_resource.generate_vpc_2_conf: 1 error(s) occurred:
* Error running command 'echo '<?xml version="1.0" encoding="UTF-8"?>
<vpn_connection id="vpn-0a32d48a6e35f07bd">
<customer_gateway_id>cgw-0591a8360c2d2c054</customer_gateway_id>
<vpn_gateway_id>vgw-03d216dbf41a7ef77</vpn_gateway_id>
<vpn_connection_type>ipsec.1</vpn_connection_type>
<ipsec_tunnel>
<customer_gateway>
<tunnel_outside_address>
<ip_address>18.221.220.85</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.58.146</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>65013</asn>
<hold_time>30</hold_time>
</bgp>
</customer_gateway>
<vpn_gateway>
<tunnel_outside_address>
<ip_address>18.218.86.95</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.57.145</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>64512</asn>
<hold_time>30</hold_time>
</bgp>
</vpn_gateway>
<ike>
<authentication_protocol>sha1</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>28800</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>main</mode>
<pre_shared_key>hWWY6K2CqGmHqqJiqsMCVr16toP3YUvw</pre_shared_key>
</ike>
<ipsec>
<protocol>esp</protocol>
<authentication_protocol>hmac-sha1-96</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>3600</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>tunnel</mode>
<clear_df_bit>true</clear_df_bit>
<fragmentation_before_encryption>true</fragmentation_before_encryption>
<tcp_mss_adjustment>1379</tcp_mss_adjustment>
<dead_peer_detection>
<interval>10</interval>
<retries>3</retries>
</dead_peer_detection>
</ipsec>
</ipsec_tunnel>
<ipsec_tunnel>
<customer_gateway>
<tunnel_outside_address>
<ip_address>18.220.215.85</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.23.194</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>65013</asn>
<hold_time>30</hold_time>
</bgp>
</customer_gateway>
<vpn_gateway>
<tunnel_outside_address>
<ip_address>52.15.222.13</ip_address>
</tunnel_outside_address>
<tunnel_inside_address>
<ip_address>169.254.57.193</ip_address>
<network_mask>255.255.255.252</network_mask>
<network_cidr>30</network_cidr>
</tunnel_inside_address>
<bgp>
<asn>64512</asn>
<hold_time>30</hold_time>
</bgp>
</vpn_gateway>
<ike>
<authentication_protocol>sha1</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>28800</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>main</mode>
<pre_shared_key>Ebdh6hmLsLYySJvyh9uqvUBfJP1G0f9a</pre_shared_key>
</ike>
<ipsec>
<protocol>esp</protocol>
<authentication_protocol>hmac-sha1-96</authentication_protocol>
<encryption_protocol>aes-128-cbc</encryption_protocol>
<lifetime>3600</lifetime>
<perfect_forward_secrecy>group2</perfect_forward_secrecy>
<mode>tunnel</mode>
<clear_df_bit>true</clear_df_bit>
<fragmentation_before_encryption>true</fragmentation_before_encryption>
<tcp_mss_adjustment>1379</tcp_mss_adjustment>
<dead_peer_detection>
<interval>10</interval>
<retries>3</retries>
</dead_peer_detection>
</ipsec>
</ipsec_tunnel>
</vpn_connection>' > vpc-2-vpn-config.vpn.xml': exit status 1. Output: The
syntax of the command is incorrect.\
how even sure where to start...
…On Wed, Aug 8, 2018 at 8:45 AM, Mark THEBAULT ***@***.***> wrote:
Hi Jarvis,
Do you have terraform, make, packer in you PATH ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARLyYOZ3UoiH1FAV2WYfdmK46ABw1vpyks5uOqUmgaJpZM4VzMMG>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Mark,
I am looking for this 'make all' command you mentioned at: "You can easily deploy everything using the following command make all at the root project.". I see Makefile but even though, is not doing what it's programmed to be doing... Instead I get back:
./Makefile: line 1: all:: command not found
./Makefile: line 3: terraform:: command not found
./Makefile: line 4: make:: command not found
./Makefile: line 6: packer:: command not found
./Makefile: line 7: make:: command not found
./Makefile: line 9: connect-vpcs:: command not found
./Makefile: line 10: make:: command not found
Any light would be appreciated thanks.
The text was updated successfully, but these errors were encountered: