Advertisement
aidjek

GCP_Loadbalancer_OTUS_HW6

Oct 27th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 64.88 KB | None | 0 0
  1. > ~/P/O/D/g/a/terraform on terraform-1 ⨯ terraform destroy                                                                                11:26:20
  2. google_compute_health_check.ruby_health: Refreshing state... (ID: ruby-health)
  3. google_compute_instance_group.ruby_app: Refreshing state... (ID: europe-west1-b/ruby-web)
  4. google_compute_instance.app[1]: Refreshing state... (ID: reddit-app-1)
  5. google_compute_instance.app[0]: Refreshing state... (ID: reddit-app-0)
  6. google_compute_firewall.firewall_puma: Refreshing state... (ID: allow-puma-default)
  7. google_compute_http_health_check.ruby_http_port: Refreshing state... (ID: ruby-http-port)
  8. google_compute_target_pool.ruby_cluster: Refreshing state... (ID: ruby-cluster)
  9. google_compute_backend_service.ruby_backend: Refreshing state... (ID: ruby-backend)
  10. google_compute_url_map.ruby_url: Refreshing state... (ID: ruby-url)
  11. google_compute_target_http_proxy.ruby_proxy: Refreshing state... (ID: ruby-proxy)
  12.  
  13. An execution plan has been generated and is shown below.
  14. Resource actions are indicated with the following symbols:
  15.   - destroy
  16.  
  17. Terraform will perform the following actions:
  18.  
  19.   - google_compute_backend_service.ruby_backend
  20.  
  21.   - google_compute_firewall.firewall_puma
  22.  
  23.   - google_compute_health_check.ruby_health
  24.  
  25.   - google_compute_http_health_check.ruby_http_port
  26.  
  27.   - google_compute_instance.app[0]
  28.  
  29.   - google_compute_instance.app[1]
  30.  
  31.   - google_compute_instance_group.ruby_app
  32.  
  33.   - google_compute_target_http_proxy.ruby_proxy
  34.  
  35.   - google_compute_target_pool.ruby_cluster
  36.  
  37.   - google_compute_url_map.ruby_url
  38.  
  39.  
  40. Plan: 0 to add, 0 to change, 10 to destroy.
  41.  
  42. Do you really want to destroy all resources?
  43.   Terraform will destroy all your managed infrastructure, as shown above.
  44.   There is no undo. Only 'yes' will be accepted to confirm.
  45.  
  46.   Enter a value: yes
  47.  
  48. google_compute_firewall.firewall_puma: Destroying... (ID: allow-puma-default)
  49. google_compute_target_pool.ruby_cluster: Destroying... (ID: ruby-cluster)
  50. google_compute_target_http_proxy.ruby_proxy: Destroying... (ID: ruby-proxy)
  51. google_compute_firewall.firewall_puma: Still destroying... (ID: allow-puma-default, 10s elapsed)
  52. google_compute_target_http_proxy.ruby_proxy: Still destroying... (ID: ruby-proxy, 10s elapsed)
  53. google_compute_target_pool.ruby_cluster: Still destroying... (ID: ruby-cluster, 10s elapsed)
  54. google_compute_target_http_proxy.ruby_proxy: Destruction complete after 11s
  55. google_compute_url_map.ruby_url: Destroying... (ID: ruby-url)
  56. google_compute_firewall.firewall_puma: Destruction complete after 11s
  57. google_compute_target_pool.ruby_cluster: Destruction complete after 12s
  58. google_compute_http_health_check.ruby_http_port: Destroying... (ID: ruby-http-port)
  59. google_compute_instance.app[0]: Destroying... (ID: reddit-app-0)
  60. google_compute_instance.app[1]: Destroying... (ID: reddit-app-1)
  61. google_compute_url_map.ruby_url: Still destroying... (ID: ruby-url, 10s elapsed)
  62. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 10s elapsed)
  63. google_compute_http_health_check.ruby_http_port: Still destroying... (ID: ruby-http-port, 10s elapsed)
  64. google_compute_instance.app.1: Still destroying... (ID: reddit-app-1, 10s elapsed)
  65. google_compute_url_map.ruby_url: Destruction complete after 11s
  66. google_compute_backend_service.ruby_backend: Destroying... (ID: ruby-backend)
  67. google_compute_http_health_check.ruby_http_port: Destruction complete after 11s
  68. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 20s elapsed)
  69. google_compute_instance.app.1: Still destroying... (ID: reddit-app-1, 20s elapsed)
  70. google_compute_backend_service.ruby_backend: Still destroying... (ID: ruby-backend, 10s elapsed)
  71. google_compute_backend_service.ruby_backend: Destruction complete after 12s
  72. google_compute_health_check.ruby_health: Destroying... (ID: ruby-health)
  73. google_compute_instance_group.ruby_app: Destroying... (ID: europe-west1-b/ruby-web)
  74. google_compute_instance.app[1]: Destruction complete after 25s
  75. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 30s elapsed)
  76. google_compute_health_check.ruby_health: Still destroying... (ID: ruby-health, 10s elapsed)
  77. google_compute_instance_group.ruby_app: Still destroying... (ID: europe-west1-b/ruby-web, 10s elapsed)
  78. google_compute_health_check.ruby_health: Destruction complete after 10s
  79. google_compute_instance_group.ruby_app: Destruction complete after 11s
  80. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 40s elapsed)
  81. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 50s elapsed)
  82. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m0s elapsed)
  83. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m10s elapsed)
  84. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m20s elapsed)
  85. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m30s elapsed)
  86. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m40s elapsed)
  87. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 1m50s elapsed)
  88. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 2m0s elapsed)
  89. google_compute_instance.app.0: Still destroying... (ID: reddit-app-0, 2m10s elapsed)
  90. google_compute_instance.app[0]: Destruction complete after 2m12s
  91.  
  92. Destroy complete! Resources: 10 destroyed.
  93. > ~/P/O/D/g/a/terraform on terraform-1 ⨯ terraform fmt                                                                                    11:29:50
  94. lb.tf
  95. main.tf
  96. variables.tf
  97. > ~/P/O/D/g/a/terraform on terraform-1 ⨯ terraform plan                                                                                   11:32:35
  98. Refreshing Terraform state in-memory prior to plan...
  99. The refreshed state will be used to calculate this plan, but will not be
  100. persisted to local or remote state storage.
  101.  
  102.  
  103. ------------------------------------------------------------------------
  104.  
  105. An execution plan has been generated and is shown below.
  106. Resource actions are indicated with the following symbols:
  107.   + create
  108.  
  109. Terraform will perform the following actions:
  110.  
  111.   + google_compute_backend_service.ruby_backend
  112.       id:                                                  <computed>
  113.       backend.#:                                           "1"
  114.       backend.~4131764219.balancing_mode:                  "UTILIZATION"
  115.       backend.~4131764219.capacity_scaler:                 "1"
  116.       backend.~4131764219.description:                     ""
  117.       backend.~4131764219.group:                           "${element(google_compute_instance_group.ruby_app.*.self_link, count.index)}"
  118.       backend.~4131764219.max_rate:                        ""
  119.       backend.~4131764219.max_rate_per_instance:           ""
  120.       backend.~4131764219.max_utilization:                 "0.8"
  121.       connection_draining_timeout_sec:                     "300"
  122.       enable_cdn:                                          "false"
  123.       fingerprint:                                         <computed>
  124.       health_checks.#:                                     <computed>
  125.       name:                                                "ruby-backend"
  126.       port_name:                                           "puma-webserver"
  127.       project:                                             <computed>
  128.       protocol:                                            "HTTP"
  129.       self_link:                                           <computed>
  130.       session_affinity:                                    <computed>
  131.       timeout_sec:                                         "10"
  132.  
  133.   + google_compute_firewall.firewall_puma
  134.       id:                                                  <computed>
  135.       allow.#:                                             "1"
  136.       allow.931060522.ports.#:                             "1"
  137.       allow.931060522.ports.0:                             "9292"
  138.       allow.931060522.protocol:                            "tcp"
  139.       destination_ranges.#:                                <computed>
  140.       name:                                                "allow-puma-default"
  141.       network:                                             "default"
  142.       priority:                                            "1000"
  143.       project:                                             <computed>
  144.       self_link:                                           <computed>
  145.       source_ranges.#:                                     "1"
  146.       source_ranges.1080289494:                            "0.0.0.0/0"
  147.       target_tags.#:                                       "1"
  148.       target_tags.1799682348:                              "reddit-app"
  149.  
  150.   + google_compute_global_forwarding_rule.ruby-forwarding
  151.       id:                                                  <computed>
  152.       ip_address:                                          <computed>
  153.       ip_protocol:                                         <computed>
  154.       label_fingerprint:                                   <computed>
  155.       name:                                                "ruby-forwarding"
  156.       port_range:                                          "80"
  157.       project:                                             <computed>
  158.       self_link:                                           <computed>
  159.       target:                                              "${google_compute_target_http_proxy.ruby_proxy.self_link}"
  160.  
  161.   + google_compute_health_check.ruby_health
  162.       id:                                                  <computed>
  163.       check_interval_sec:                                  "3"
  164.       healthy_threshold:                                   "2"
  165.       name:                                                "ruby-health"
  166.       project:                                             <computed>
  167.       self_link:                                           <computed>
  168.       tcp_health_check.#:                                  "1"
  169.       tcp_health_check.0.port:                             "9292"
  170.       tcp_health_check.0.proxy_header:                     "NONE"
  171.       timeout_sec:                                         "1"
  172.       unhealthy_threshold:                                 "2"
  173.  
  174.   + google_compute_instance.app[0]
  175.       id:                                                  <computed>
  176.       boot_disk.#:                                         "1"
  177.       boot_disk.0.auto_delete:                             "true"
  178.       boot_disk.0.device_name:                             <computed>
  179.       boot_disk.0.disk_encryption_key_sha256:              <computed>
  180.       boot_disk.0.initialize_params.#:                     "1"
  181.       boot_disk.0.initialize_params.0.image:               "reddit-base"
  182.       can_ip_forward:                                      "false"
  183.       cpu_platform:                                        <computed>
  184.       create_timeout:                                      "4"
  185.       instance_id:                                         <computed>
  186.       label_fingerprint:                                   <computed>
  187.       machine_type:                                        "g1-small"
  188.       metadata.%:                                          "1"
  189.       metadata.ssh-keys:                                   "appuser:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uy2SzmovqakU6p9B05hzjv/+rd+TLETg1U1gQLVqAqdQQ8zcio7sViIo3aslDYXbX9R3S4sGrDtOpSKoY08SCjbHldXcsdru/HsmitZM/FDSnZoUbQA1EgZIobP93pIy202w0MR36cA6RjbHIDpwwlfSZazCAA90KngR6SLWKXiscxO4Wn7RgIo5gKWwRLryU20l+60dZlyozuZzizGXmk/vPMGK+6nG1DWrubgxTJbiTkg+Lvt3wGlHFSzJG1W3RDrpSVHMcif6WhyJWk1f8Q0DCs33m6o3h+KfWJwVNRpRMWuPISWS8JAmqWjLeYic/y9VV41Stfd3hSzWI2N9 appuser\n"
  190.       metadata_fingerprint:                                <computed>
  191.       name:                                                "reddit-app-0"
  192.       network_interface.#:                                 "1"
  193.       network_interface.0.access_config.#:                 "1"
  194.       network_interface.0.access_config.0.assigned_nat_ip: <computed>
  195.       network_interface.0.access_config.0.nat_ip:          <computed>
  196.       network_interface.0.address:                         <computed>
  197.       network_interface.0.name:                            <computed>
  198.       network_interface.0.network:                         "default"
  199.       network_interface.0.network_ip:                      <computed>
  200.       network_interface.0.subnetwork_project:              <computed>
  201.       project:                                             <computed>
  202.       scheduling.#:                                        <computed>
  203.       self_link:                                           <computed>
  204.       tags.#:                                              "1"
  205.       tags.1799682348:                                     "reddit-app"
  206.       tags_fingerprint:                                    <computed>
  207.       zone:                                                "europe-west1-b"
  208.  
  209.   + google_compute_instance.app[1]
  210.       id:                                                  <computed>
  211.       boot_disk.#:                                         "1"
  212.       boot_disk.0.auto_delete:                             "true"
  213.       boot_disk.0.device_name:                             <computed>
  214.       boot_disk.0.disk_encryption_key_sha256:              <computed>
  215.       boot_disk.0.initialize_params.#:                     "1"
  216.       boot_disk.0.initialize_params.0.image:               "reddit-base"
  217.       can_ip_forward:                                      "false"
  218.       cpu_platform:                                        <computed>
  219.       create_timeout:                                      "4"
  220.       instance_id:                                         <computed>
  221.       label_fingerprint:                                   <computed>
  222.       machine_type:                                        "g1-small"
  223.       metadata.%:                                          "1"
  224.       metadata.ssh-keys:                                   "appuser:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uy2SzmovqakU6p9B05hzjv/+rd+TLETg1U1gQLVqAqdQQ8zcio7sViIo3aslDYXbX9R3S4sGrDtOpSKoY08SCjbHldXcsdru/HsmitZM/FDSnZoUbQA1EgZIobP93pIy202w0MR36cA6RjbHIDpwwlfSZazCAA90KngR6SLWKXiscxO4Wn7RgIo5gKWwRLryU20l+60dZlyozuZzizGXmk/vPMGK+6nG1DWrubgxTJbiTkg+Lvt3wGlHFSzJG1W3RDrpSVHMcif6WhyJWk1f8Q0DCs33m6o3h+KfWJwVNRpRMWuPISWS8JAmqWjLeYic/y9VV41Stfd3hSzWI2N9 appuser\n"
  225.       metadata_fingerprint:                                <computed>
  226.       name:                                                "reddit-app-1"
  227.       network_interface.#:                                 "1"
  228.       network_interface.0.access_config.#:                 "1"
  229.       network_interface.0.access_config.0.assigned_nat_ip: <computed>
  230.       network_interface.0.access_config.0.nat_ip:          <computed>
  231.       network_interface.0.address:                         <computed>
  232.       network_interface.0.name:                            <computed>
  233.       network_interface.0.network:                         "default"
  234.       network_interface.0.network_ip:                      <computed>
  235.       network_interface.0.subnetwork_project:              <computed>
  236.       project:                                             <computed>
  237.       scheduling.#:                                        <computed>
  238.       self_link:                                           <computed>
  239.       tags.#:                                              "1"
  240.       tags.1799682348:                                     "reddit-app"
  241.       tags_fingerprint:                                    <computed>
  242.       zone:                                                "europe-west2-b"
  243.  
  244.   + google_compute_instance_group.ruby_app[0]
  245.       id:                                                  <computed>
  246.       instances.#:                                         <computed>
  247.       name:                                                "ruby-web-0"
  248.       named_port.#:                                        "1"
  249.       named_port.0.name:                                   "puma-webserver"
  250.       named_port.0.port:                                   "9292"
  251.       network:                                             <computed>
  252.       project:                                             <computed>
  253.       self_link:                                           <computed>
  254.       size:                                                <computed>
  255.       zone:                                                "europe-west1-b"
  256.  
  257.   + google_compute_instance_group.ruby_app[1]
  258.       id:                                                  <computed>
  259.       instances.#:                                         <computed>
  260.       name:                                                "ruby-web-1"
  261.       named_port.#:                                        "1"
  262.       named_port.0.name:                                   "puma-webserver"
  263.       named_port.0.port:                                   "9292"
  264.       network:                                             <computed>
  265.       project:                                             <computed>
  266.       self_link:                                           <computed>
  267.       size:                                                <computed>
  268.       zone:                                                "europe-west2-b"
  269.  
  270.   + google_compute_target_http_proxy.ruby_proxy
  271.       id:                                                  <computed>
  272.       name:                                                "ruby-proxy"
  273.       project:                                             <computed>
  274.       proxy_id:                                            <computed>
  275.       self_link:                                           <computed>
  276.       url_map:                                             "${google_compute_url_map.ruby_url.self_link}"
  277.  
  278.   + google_compute_url_map.ruby_url
  279.       id:                                                  <computed>
  280.       default_service:                                     "${google_compute_backend_service.ruby_backend.self_link}"
  281.       fingerprint:                                         <computed>
  282.       map_id:                                              <computed>
  283.       name:                                                "ruby-url"
  284.       project:                                             <computed>
  285.       self_link:                                           <computed>
  286.  
  287.  
  288. Plan: 10 to add, 0 to change, 0 to destroy.
  289.  
  290. ------------------------------------------------------------------------
  291.  
  292. Note: You didn't specify an "-out" parameter to save this plan, so Terraform
  293. can't guarantee that exactly these actions will be performed if
  294. "terraform apply" is subsequently run.
  295.  
  296. > ~/P/O/D/g/a/terraform on terraform-1git commit -am "Add^C
  297. ⋊> ~/P/O/D/g/a/terraform on terraform-1 ⨯ git status                                                                                       11:33:12
  298. On branch terraform-1
  299. Changes not staged for commit:
  300.  (use "git add <file>..." to update what will be committed)
  301.  (use "git checkout -- <file>..." to discard changes in working directory)
  302.  
  303.     modified:   ../README.md
  304.     modified:   lb.tf
  305.     modified:   main.tf
  306.     modified:   outputs.tf
  307.     modified:   variables.tf
  308.  
  309. no changes added to commit (use "git add" and/or "git commit -a")
  310. ⋊> ~/P/O/D/g/a/terraform on terraform-1 ⨯ git commit -am "Added function for create multiple instances with count definition"              11:33:16
  311. [terraform-1 a6c1fc4] Added function for create multiple instances with count definition
  312. 5 files changed, 38 insertions(+), 210 deletions(-)
  313. ⋊> ~/P/O/D/g/a/terraform on terraform-1  terraform apply --auto-approve=true                                                               11:34:10
  314. google_compute_health_check.ruby_health: Creating...
  315.  check_interval_sec:              "" => "3"
  316.  healthy_threshold:               "" => "2"
  317.  name:                            "" => "ruby-health"
  318.  project:                         "" => "<computed>"
  319.  self_link:                       "" => "<computed>"
  320.  tcp_health_check.#:              "" => "1"
  321.  tcp_health_check.0.port:         "" => "9292"
  322.  tcp_health_check.0.proxy_header: "" => "NONE"
  323.  timeout_sec:                     "" => "1"
  324.  unhealthy_threshold:             "" => "2"
  325. google_compute_firewall.firewall_puma: Creating...
  326.  allow.#:                  "" => "1"
  327.  allow.931060522.ports.#:  "" => "1"
  328.  allow.931060522.ports.0:  "" => "9292"
  329.  allow.931060522.protocol: "" => "tcp"
  330.  destination_ranges.#:     "" => "<computed>"
  331.  name:                     "" => "allow-puma-default"
  332.  network:                  "" => "default"
  333.  priority:                 "" => "1000"
  334.  project:                  "" => "<computed>"
  335.  self_link:                "" => "<computed>"
  336.  source_ranges.#:          "" => "1"
  337.  source_ranges.1080289494: "" => "0.0.0.0/0"
  338.  target_tags.#:            "" => "1"
  339.  target_tags.1799682348:   "" => "reddit-app"
  340. google_compute_instance.app[1]: Creating...
  341.  boot_disk.#:                                         "" => "1"
  342.  boot_disk.0.auto_delete:                             "" => "true"
  343.  boot_disk.0.device_name:                             "" => "<computed>"
  344.  boot_disk.0.disk_encryption_key_sha256:              "" => "<computed>"
  345.  boot_disk.0.initialize_params.#:                     "" => "1"
  346.  boot_disk.0.initialize_params.0.image:               "" => "reddit-base"
  347.  can_ip_forward:                                      "" => "false"
  348.  cpu_platform:                                        "" => "<computed>"
  349.  create_timeout:                                      "" => "4"
  350.  instance_id:                                         "" => "<computed>"
  351.  label_fingerprint:                                   "" => "<computed>"
  352.  machine_type:                                        "" => "g1-small"
  353.  metadata.%:                                          "" => "1"
  354.  metadata.ssh-keys:                                   "" => "appuser:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uy2SzmovqakU6p9B05hzjv/+rd+TLETg1U1gQLVqAqdQQ8zcio7sViIo3aslDYXbX9R3S4sGrDtOpSKoY08SCjbHldXcsdru/HsmitZM/FDSnZoUbQA1EgZIobP93pIy202w0MR36cA6RjbHIDpwwlfSZazCAA90KngR6SLWKXiscxO4Wn7RgIo5gKWwRLryU20l+60dZlyozuZzizGXmk/vPMGK+6nG1DWrubgxTJbiTkg+Lvt3wGlHFSzJG1W3RDrpSVHMcif6WhyJWk1f8Q0DCs33m6o3h+KfWJwVNRpRMWuPISWS8JAmqWjLeYic/y9VV41Stfd3hSzWI2N9 appuser\n"
  355.  metadata_fingerprint:                                "" => "<computed>"
  356.  name:                                                "" => "reddit-app-1"
  357.  network_interface.#:                                 "" => "1"
  358.  network_interface.0.access_config.#:                 "" => "1"
  359.  network_interface.0.access_config.0.assigned_nat_ip: "" => "<computed>"
  360.  network_interface.0.access_config.0.nat_ip:          "" => "<computed>"
  361.  network_interface.0.address:                         "" => "<computed>"
  362.  network_interface.0.name:                            "" => "<computed>"
  363.  network_interface.0.network:                         "" => "default"
  364.  network_interface.0.network_ip:                      "" => "<computed>"
  365.  network_interface.0.subnetwork_project:              "" => "<computed>"
  366.  project:                                             "" => "<computed>"
  367.  scheduling.#:                                        "" => "<computed>"
  368.  self_link:                                           "" => "<computed>"
  369.  tags.#:                                              "" => "1"
  370.  tags.1799682348:                                     "" => "reddit-app"
  371.  tags_fingerprint:                                    "" => "<computed>"
  372.  zone:                                                "" => "europe-west2-b"
  373. google_compute_instance.app[0]: Creating...
  374.  boot_disk.#:                                         "" => "1"
  375.  boot_disk.0.auto_delete:                             "" => "true"
  376.  boot_disk.0.device_name:                             "" => "<computed>"
  377.  boot_disk.0.disk_encryption_key_sha256:              "" => "<computed>"
  378.  boot_disk.0.initialize_params.#:                     "" => "1"
  379.  boot_disk.0.initialize_params.0.image:               "" => "reddit-base"
  380.  can_ip_forward:                                      "" => "false"
  381.  cpu_platform:                                        "" => "<computed>"
  382.  create_timeout:                                      "" => "4"
  383.  instance_id:                                         "" => "<computed>"
  384.  label_fingerprint:                                   "" => "<computed>"
  385.  machine_type:                                        "" => "g1-small"
  386.  metadata.%:                                          "" => "1"
  387.  metadata.ssh-keys:                                   "" => "appuser:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uy2SzmovqakU6p9B05hzjv/+rd+TLETg1U1gQLVqAqdQQ8zcio7sViIo3aslDYXbX9R3S4sGrDtOpSKoY08SCjbHldXcsdru/HsmitZM/FDSnZoUbQA1EgZIobP93pIy202w0MR36cA6RjbHIDpwwlfSZazCAA90KngR6SLWKXiscxO4Wn7RgIo5gKWwRLryU20l+60dZlyozuZzizGXmk/vPMGK+6nG1DWrubgxTJbiTkg+Lvt3wGlHFSzJG1W3RDrpSVHMcif6WhyJWk1f8Q0DCs33m6o3h+KfWJwVNRpRMWuPISWS8JAmqWjLeYic/y9VV41Stfd3hSzWI2N9 appuser\n"
  388.  metadata_fingerprint:                                "" => "<computed>"
  389.  name:                                                "" => "reddit-app-0"
  390.  network_interface.#:                                 "" => "1"
  391.  network_interface.0.access_config.#:                 "" => "1"
  392.  network_interface.0.access_config.0.assigned_nat_ip: "" => "<computed>"
  393.  network_interface.0.access_config.0.nat_ip:          "" => "<computed>"
  394.  network_interface.0.address:                         "" => "<computed>"
  395.  network_interface.0.name:                            "" => "<computed>"
  396.  network_interface.0.network:                         "" => "default"
  397.  network_interface.0.network_ip:                      "" => "<computed>"
  398.  network_interface.0.subnetwork_project:              "" => "<computed>"
  399.  project:                                             "" => "<computed>"
  400.  scheduling.#:                                        "" => "<computed>"
  401.  self_link:                                           "" => "<computed>"
  402.  tags.#:                                              "" => "1"
  403.  tags.1799682348:                                     "" => "reddit-app"
  404.  tags_fingerprint:                                    "" => "<computed>"
  405.  zone:                                                "" => "europe-west1-b"
  406. google_compute_health_check.ruby_health: Still creating... (10s elapsed)
  407. google_compute_firewall.firewall_puma: Still creating... (10s elapsed)
  408. google_compute_instance.app.1: Still creating... (10s elapsed)
  409. google_compute_instance.app.0: Still creating... (10s elapsed)
  410. google_compute_health_check.ruby_health: Creation complete after 12s (ID: ruby-health)
  411. google_compute_firewall.firewall_puma: Creation complete after 12s (ID: allow-puma-default)
  412. google_compute_instance.app[1]: Provisioning with 'file'...
  413. google_compute_instance.app.1: Still creating... (20s elapsed)
  414. google_compute_instance.app.0: Still creating... (20s elapsed)
  415. google_compute_instance.app.0: Still creating... (30s elapsed)
  416. google_compute_instance.app.1: Still creating... (30s elapsed)
  417. google_compute_instance.app[1]: Provisioning with 'remote-exec'...
  418. google_compute_instance.app[1] (remote-exec): Connecting to remote host via SSH...
  419. google_compute_instance.app[1] (remote-exec):   Host: 35.189.123.0
  420. google_compute_instance.app[1] (remote-exec):   User: appuser
  421. google_compute_instance.app[1] (remote-exec):   Password: false
  422. google_compute_instance.app[1] (remote-exec):   Private key: true
  423. google_compute_instance.app[1] (remote-exec):   SSH Agent: false
  424. google_compute_instance.app[1] (remote-exec):   Checking Host Key: false
  425. google_compute_instance.app[1] (remote-exec): Connected!
  426. google_compute_instance.app[1] (remote-exec): Cloning into '/home/appuser/reddit'...
  427. google_compute_instance.app[1] (remote-exec): remote: Enumerating objects: 308, done.
  428. google_compute_instance.app[1] (remote-exec): Receiving objects:   0% (1/308)
  429. google_compute_instance.app[1] (remote-exec): Receiving objects:   1% (4/308)
  430. google_compute_instance.app[1] (remote-exec): Receiving objects:   2% (7/308)
  431. google_compute_instance.app[1] (remote-exec): Receiving objects:   3% (10/308)
  432. google_compute_instance.app[1] (remote-exec): Receiving objects:   4% (13/308)
  433. google_compute_instance.app[1] (remote-exec): Receiving objects:   5% (16/308)
  434. google_compute_instance.app[1] (remote-exec): Receiving objects:   6% (19/308)
  435. google_compute_instance.app[1] (remote-exec): Receiving objects:   7% (22/308)
  436. google_compute_instance.app[1] (remote-exec): Receiving objects:   8% (25/308)
  437. google_compute_instance.app[1] (remote-exec): Receiving objects:   9% (28/308)
  438. google_compute_instance.app[1] (remote-exec): Receiving objects:  10% (31/308)
  439. google_compute_instance.app[1] (remote-exec): Receiving objects:  11% (34/308)
  440. google_compute_instance.app[1] (remote-exec): Receiving objects:  12% (37/308)
  441. google_compute_instance.app[1] (remote-exec): Receiving objects:  13% (41/308)
  442. google_compute_instance.app[1] (remote-exec): Receiving objects:  14% (44/308)
  443. google_compute_instance.app[1] (remote-exec): Receiving objects:  15% (47/308)
  444. google_compute_instance.app[1] (remote-exec): Receiving objects:  16% (50/308)
  445. google_compute_instance.app[1] (remote-exec): Receiving objects:  17% (53/308)
  446. google_compute_instance.app[1] (remote-exec): Receiving objects:  18% (56/308)
  447. google_compute_instance.app[1] (remote-exec): Receiving objects:  19% (59/308)
  448. google_compute_instance.app[1] (remote-exec): Receiving objects:  20% (62/308)
  449. google_compute_instance.app[1] (remote-exec): Receiving objects:  21% (65/308)
  450. google_compute_instance.app[1] (remote-exec): Receiving objects:  22% (68/308)
  451. google_compute_instance.app[1] (remote-exec): Receiving objects:  23% (71/308)
  452. google_compute_instance.app[1] (remote-exec): Receiving objects:  24% (74/308)
  453. google_compute_instance.app[1] (remote-exec): Receiving objects:  25% (77/308)
  454. google_compute_instance.app[1] (remote-exec): Receiving objects:  26% (81/308)
  455. google_compute_instance.app[1] (remote-exec): remote: Total 308 (delta 0), reused 0 (delta 0), pack-reused 308
  456. google_compute_instance.app[1] (remote-exec): Receiving objects:  27% (84/308)
  457. google_compute_instance.app[1] (remote-exec): Receiving objects:  28% (87/308)
  458. google_compute_instance.app[1] (remote-exec): Receiving objects:  29% (90/308)
  459. google_compute_instance.app[1] (remote-exec): Receiving objects:  30% (93/308)
  460. google_compute_instance.app[1] (remote-exec): Receiving objects:  31% (96/308)
  461. google_compute_instance.app[1] (remote-exec): Receiving objects:  32% (99/308)
  462. google_compute_instance.app[1] (remote-exec): Receiving objects:  33% (102/308)
  463. google_compute_instance.app[1] (remote-exec): Receiving objects:  34% (105/308)
  464. google_compute_instance.app[1] (remote-exec): Receiving objects:  35% (108/308)
  465. google_compute_instance.app[1] (remote-exec): Receiving objects:  36% (111/308)
  466. google_compute_instance.app[1] (remote-exec): Receiving objects:  37% (114/308)
  467. google_compute_instance.app[1] (remote-exec): Receiving objects:  38% (118/308)
  468. google_compute_instance.app[1] (remote-exec): Receiving objects:  39% (121/308)
  469. google_compute_instance.app[1] (remote-exec): Receiving objects:  40% (124/308)
  470. google_compute_instance.app[1] (remote-exec): Receiving objects:  41% (127/308)
  471. google_compute_instance.app[1] (remote-exec): Receiving objects:  42% (130/308)
  472. google_compute_instance.app[1] (remote-exec): Receiving objects:  43% (133/308)
  473. google_compute_instance.app[1] (remote-exec): Receiving objects:  44% (136/308)
  474. google_compute_instance.app[1] (remote-exec): Receiving objects:  45% (139/308)
  475. google_compute_instance.app[1] (remote-exec): Receiving objects:  46% (142/308)
  476. google_compute_instance.app[1] (remote-exec): Receiving objects:  47% (145/308)
  477. google_compute_instance.app[1] (remote-exec): Receiving objects:  48% (148/308)
  478. google_compute_instance.app[1] (remote-exec): Receiving objects:  49% (151/308)
  479. google_compute_instance.app[1] (remote-exec): Receiving objects:  50% (154/308)
  480. google_compute_instance.app[1] (remote-exec): Receiving objects:  51% (158/308)
  481. google_compute_instance.app[1] (remote-exec): Receiving objects:  52% (161/308)
  482. google_compute_instance.app[1] (remote-exec): Receiving objects:  53% (164/308)
  483. google_compute_instance.app[1] (remote-exec): Receiving objects:  54% (167/308)
  484. google_compute_instance.app[1] (remote-exec): Receiving objects:  55% (170/308)
  485. google_compute_instance.app[1] (remote-exec): Receiving objects:  56% (173/308)
  486. google_compute_instance.app[1] (remote-exec): Receiving objects:  57% (176/308)
  487. google_compute_instance.app[1] (remote-exec): Receiving objects:  58% (179/308)
  488. google_compute_instance.app[1] (remote-exec): Receiving objects:  59% (182/308)
  489. google_compute_instance.app[1] (remote-exec): Receiving objects:  60% (185/308)
  490. google_compute_instance.app[1] (remote-exec): Receiving objects:  61% (188/308)
  491. google_compute_instance.app[1] (remote-exec): Receiving objects:  62% (191/308)
  492. google_compute_instance.app[1] (remote-exec): Receiving objects:  63% (195/308)
  493. google_compute_instance.app[1] (remote-exec): Receiving objects:  64% (198/308)
  494. google_compute_instance.app[1] (remote-exec): Receiving objects:  65% (201/308)
  495. google_compute_instance.app[1] (remote-exec): Receiving objects:  66% (204/308)
  496. google_compute_instance.app[1] (remote-exec): Receiving objects:  67% (207/308)
  497. google_compute_instance.app[1] (remote-exec): Receiving objects:  68% (210/308)
  498. google_compute_instance.app[1] (remote-exec): Receiving objects:  69% (213/308)
  499. google_compute_instance.app[1] (remote-exec): Receiving objects:  70% (216/308)
  500. google_compute_instance.app[1] (remote-exec): Receiving objects:  71% (219/308)
  501. google_compute_instance.app[1] (remote-exec): Receiving objects:  72% (222/308)
  502. google_compute_instance.app[1] (remote-exec): Receiving objects:  73% (225/308)
  503. google_compute_instance.app[1] (remote-exec): Receiving objects:  74% (228/308)
  504. google_compute_instance.app[1] (remote-exec): Receiving objects:  75% (231/308)
  505. google_compute_instance.app[1] (remote-exec): Receiving objects:  76% (235/308)
  506. google_compute_instance.app[1] (remote-exec): Receiving objects:  77% (238/308)
  507. google_compute_instance.app[1] (remote-exec): Receiving objects:  78% (241/308)
  508. google_compute_instance.app[1] (remote-exec): Receiving objects:  79% (244/308)
  509. google_compute_instance.app[1] (remote-exec): Receiving objects:  80% (247/308)
  510. google_compute_instance.app[1] (remote-exec): Receiving objects:  81% (250/308)
  511. google_compute_instance.app[1] (remote-exec): Receiving objects:  82% (253/308)
  512. google_compute_instance.app[1] (remote-exec): Receiving objects:  83% (256/308)
  513. google_compute_instance.app[1] (remote-exec): Receiving objects:  84% (259/308)
  514. google_compute_instance.app[1] (remote-exec): Receiving objects:  85% (262/308)
  515. google_compute_instance.app[1] (remote-exec): Receiving objects:  86% (265/308)
  516. google_compute_instance.app[1] (remote-exec): Receiving objects:  87% (268/308)
  517. google_compute_instance.app[1] (remote-exec): Receiving objects:  88% (272/308)
  518. google_compute_instance.app[1] (remote-exec): Receiving objects:  89% (275/308)
  519. google_compute_instance.app[1] (remote-exec): Receiving objects:  90% (278/308)
  520. google_compute_instance.app[1] (remote-exec): Receiving objects:  91% (281/308)
  521. google_compute_instance.app[1] (remote-exec): Receiving objects:  92% (284/308)
  522. google_compute_instance.app[1] (remote-exec): Receiving objects:  93% (287/308)
  523. google_compute_instance.app[1] (remote-exec): Receiving objects:  94% (290/308)
  524. google_compute_instance.app[1] (remote-exec): Receiving objects:  95% (293/308)
  525. google_compute_instance.app[1] (remote-exec): Receiving objects:  96% (296/308)
  526. google_compute_instance.app[1] (remote-exec): Receiving objects:  97% (299/308)
  527. google_compute_instance.app[1] (remote-exec): Receiving objects:  98% (302/308)
  528. google_compute_instance.app[1] (remote-exec): Receiving objects:  99% (305/308)
  529. google_compute_instance.app[1] (remote-exec): Receiving objects: 100% (308/308)
  530. google_compute_instance.app[1] (remote-exec): Receiving objects: 100% (308/308), 52.01 KiB | 0 bytes/s, done.
  531. google_compute_instance.app[1] (remote-exec): Resolving deltas:   0% (0/167)
  532. google_compute_instance.app[1] (remote-exec): Resolving deltas:   1% (2/167)
  533. google_compute_instance.app[1] (remote-exec): Resolving deltas:   4% (7/167)
  534. google_compute_instance.app[1] (remote-exec): Resolving deltas:   7% (12/167)
  535. google_compute_instance.app[1] (remote-exec): Resolving deltas:  10% (17/167)
  536. google_compute_instance.app[1] (remote-exec): Resolving deltas:  11% (19/167)
  537. google_compute_instance.app[1] (remote-exec): Resolving deltas:  14% (24/167)
  538. google_compute_instance.app[1] (remote-exec): Resolving deltas:  15% (26/167)
  539. google_compute_instance.app[1] (remote-exec): Resolving deltas:  16% (28/167)
  540. google_compute_instance.app[1] (remote-exec): Resolving deltas:  19% (32/167)
  541. google_compute_instance.app[1] (remote-exec): Resolving deltas:  20% (34/167)
  542. google_compute_instance.app[1] (remote-exec): Resolving deltas:  22% (37/167)
  543. google_compute_instance.app[1] (remote-exec): Resolving deltas:  26% (45/167)
  544. google_compute_instance.app[1] (remote-exec): Resolving deltas:  30% (51/167)
  545. google_compute_instance.app[1] (remote-exec): Resolving deltas:  31% (52/167)
  546. google_compute_instance.app[1] (remote-exec): Resolving deltas:  32% (54/167)
  547. google_compute_instance.app[1] (remote-exec): Resolving deltas:  34% (57/167)
  548. google_compute_instance.app[1] (remote-exec): Resolving deltas:  37% (63/167)
  549. google_compute_instance.app[1] (remote-exec): Resolving deltas:  44% (75/167)
  550. google_compute_instance.app[1] (remote-exec): Resolving deltas:  46% (78/167)
  551. google_compute_instance.app[1] (remote-exec): Resolving deltas:  48% (81/167)
  552. google_compute_instance.app[1] (remote-exec): Resolving deltas:  49% (82/167)
  553. google_compute_instance.app[1] (remote-exec): Resolving deltas:  50% (84/167)
  554. google_compute_instance.app[1] (remote-exec): Resolving deltas:  52% (87/167)
  555. google_compute_instance.app[1] (remote-exec): Resolving deltas:  53% (89/167)
  556. google_compute_instance.app[1] (remote-exec): Resolving deltas:  54% (91/167)
  557. google_compute_instance.app[1] (remote-exec): Resolving deltas:  56% (94/167)
  558. google_compute_instance.app[1] (remote-exec): Resolving deltas:  58% (97/167)
  559. google_compute_instance.app[1] (remote-exec): Resolving deltas:  61% (102/167)
  560. google_compute_instance.app[1] (remote-exec): Resolving deltas:  62% (104/167)
  561. google_compute_instance.app[1] (remote-exec): Resolving deltas:  64% (107/167)
  562. google_compute_instance.app[1] (remote-exec): Resolving deltas:  65% (109/167)
  563. google_compute_instance.app[1] (remote-exec): Resolving deltas:  67% (113/167)
  564. google_compute_instance.app[1] (remote-exec): Resolving deltas:  69% (116/167)
  565. google_compute_instance.app[1] (remote-exec): Resolving deltas:  70% (117/167)
  566. google_compute_instance.app[1] (remote-exec): Resolving deltas:  71% (119/167)
  567. google_compute_instance.app[1] (remote-exec): Resolving deltas:  72% (121/167)
  568. google_compute_instance.app[1] (remote-exec): Resolving deltas:  73% (122/167)
  569. google_compute_instance.app[1] (remote-exec): Resolving deltas:  74% (124/167)
  570. google_compute_instance.app[1] (remote-exec): Resolving deltas:  80% (135/167)
  571. google_compute_instance.app[1] (remote-exec): Resolving deltas:  83% (139/167)
  572. google_compute_instance.app[1] (remote-exec): Resolving deltas:  86% (144/167)
  573. google_compute_instance.app[1] (remote-exec): Resolving deltas:  87% (146/167)
  574. google_compute_instance.app[1] (remote-exec): Resolving deltas:  92% (154/167)
  575. google_compute_instance.app[1] (remote-exec): Resolving deltas:  93% (156/167)
  576. google_compute_instance.app[1] (remote-exec): Resolving deltas:  95% (159/167)
  577. google_compute_instance.app[1] (remote-exec): Resolving deltas:  96% (161/167)
  578. google_compute_instance.app[1] (remote-exec): Resolving deltas: 100% (167/167)
  579. google_compute_instance.app[1] (remote-exec): Resolving deltas: 100% (167/167), done.
  580. google_compute_instance.app[1] (remote-exec): Checking connectivity... done.
  581. google_compute_instance.app[1] (remote-exec): Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  582. google_compute_instance.app[1] (remote-exec):
  583. google_compute_instance.app[1] (remote-exec): Fetching gem metadata from https://rubygems.org/.
  584. google_compute_instance.app[1] (remote-exec): .
  585. google_compute_instance.app[1] (remote-exec): .
  586. google_compute_instance.app.1: Still creating... (40s elapsed)
  587. google_compute_instance.app.0: Still creating... (40s elapsed)
  588. google_compute_instance.app[1] (remote-exec): .
  589. google_compute_instance.app[1] (remote-exec): .
  590. google_compute_instance.app[1] (remote-exec): .
  591. google_compute_instance.app[0]: Provisioning with 'file'...
  592. google_compute_instance.app[1] (remote-exec): .
  593. google_compute_instance.app[1] (remote-exec): .
  594. google_compute_instance.app[1] (remote-exec): .
  595. google_compute_instance.app[1] (remote-exec): .
  596. google_compute_instance.app[1] (remote-exec): Fetching version metadata from https://rubygems.org/.
  597. google_compute_instance.app[1] (remote-exec): .
  598. google_compute_instance.app[1] (remote-exec): Installing rake 12.0.0
  599. google_compute_instance.app[1] (remote-exec): Installing net-ssh 4.1.0
  600. google_compute_instance.app[0]: Provisioning with 'remote-exec'...
  601. google_compute_instance.app[0] (remote-exec): Connecting to remote host via SSH...
  602. google_compute_instance.app[0] (remote-exec):   Host: 35.195.31.120
  603. google_compute_instance.app[0] (remote-exec):   User: appuser
  604. google_compute_instance.app[0] (remote-exec):   Password: false
  605. google_compute_instance.app[0] (remote-exec):   Private key: true
  606. google_compute_instance.app[0] (remote-exec):   SSH Agent: false
  607. google_compute_instance.app[0] (remote-exec):   Checking Host Key: false
  608. google_compute_instance.app[0] (remote-exec): Connected!
  609. google_compute_instance.app[1] (remote-exec): Installing bcrypt 3.1.11 with native extensions
  610. google_compute_instance.app[0] (remote-exec): Cloning into '/home/appuser/reddit'...
  611. google_compute_instance.app[0] (remote-exec): remote: Enumerating objects: 308, done.
  612. google_compute_instance.app[1] (remote-exec): Installing bson 4.2.2 with native extensions
  613. google_compute_instance.app[0] (remote-exec): Receiving objects:   0% (1/308)
  614. google_compute_instance.app[0] (remote-exec): Receiving objects:   1% (4/308)
  615. google_compute_instance.app[0] (remote-exec): Receiving objects:   2% (7/308)
  616. google_compute_instance.app[0] (remote-exec): Receiving objects:   3% (10/308)
  617. google_compute_instance.app[0] (remote-exec): Receiving objects:   4% (13/308)
  618. google_compute_instance.app[0] (remote-exec): Receiving objects:   5% (16/308)
  619. google_compute_instance.app[0] (remote-exec): Receiving objects:   6% (19/308)
  620. google_compute_instance.app[0] (remote-exec): Receiving objects:   7% (22/308)
  621. google_compute_instance.app[0] (remote-exec): Receiving objects:   8% (25/308)
  622. google_compute_instance.app[0] (remote-exec): Receiving objects:   9% (28/308)
  623. google_compute_instance.app[0] (remote-exec): Receiving objects:  10% (31/308)
  624. google_compute_instance.app[0] (remote-exec): Receiving objects:  11% (34/308)
  625. google_compute_instance.app[0] (remote-exec): Receiving objects:  12% (37/308)
  626. google_compute_instance.app[0] (remote-exec): remote: Total 308 (delta 0), reused 0 (delta 0), pack-reused 308
  627. google_compute_instance.app[0] (remote-exec): Receiving objects:  13% (41/308)
  628. google_compute_instance.app[0] (remote-exec): Receiving objects:  14% (44/308)
  629. google_compute_instance.app[0] (remote-exec): Receiving objects:  15% (47/308)
  630. google_compute_instance.app[0] (remote-exec): Receiving objects:  16% (50/308)
  631. google_compute_instance.app[0] (remote-exec): Receiving objects:  17% (53/308)
  632. google_compute_instance.app[0] (remote-exec): Receiving objects:  18% (56/308)
  633. google_compute_instance.app[0] (remote-exec): Receiving objects:  19% (59/308)
  634. google_compute_instance.app[0] (remote-exec): Receiving objects:  20% (62/308)
  635. google_compute_instance.app[0] (remote-exec): Receiving objects:  21% (65/308)
  636. google_compute_instance.app[0] (remote-exec): Receiving objects:  22% (68/308)
  637. google_compute_instance.app[0] (remote-exec): Receiving objects:  23% (71/308)
  638. google_compute_instance.app[0] (remote-exec): Receiving objects:  24% (74/308)
  639. google_compute_instance.app[0] (remote-exec): Receiving objects:  25% (77/308)
  640. google_compute_instance.app[0] (remote-exec): Receiving objects:  26% (81/308)
  641. google_compute_instance.app[0] (remote-exec): Receiving objects:  27% (84/308)
  642. google_compute_instance.app[0] (remote-exec): Receiving objects:  28% (87/308)
  643. google_compute_instance.app[0] (remote-exec): Receiving objects:  29% (90/308)
  644. google_compute_instance.app[0] (remote-exec): Receiving objects:  30% (93/308)
  645. google_compute_instance.app[0] (remote-exec): Receiving objects:  31% (96/308)
  646. google_compute_instance.app[0] (remote-exec): Receiving objects:  32% (99/308)
  647. google_compute_instance.app[0] (remote-exec): Receiving objects:  33% (102/308)
  648. google_compute_instance.app[0] (remote-exec): Receiving objects:  34% (105/308)
  649. google_compute_instance.app[0] (remote-exec): Receiving objects:  35% (108/308)
  650. google_compute_instance.app[0] (remote-exec): Receiving objects:  36% (111/308)
  651. google_compute_instance.app[0] (remote-exec): Receiving objects:  37% (114/308)
  652. google_compute_instance.app[0] (remote-exec): Receiving objects:  38% (118/308)
  653. google_compute_instance.app[0] (remote-exec): Receiving objects:  39% (121/308)
  654. google_compute_instance.app[0] (remote-exec): Receiving objects:  40% (124/308)
  655. google_compute_instance.app[0] (remote-exec): Receiving objects:  41% (127/308)
  656. google_compute_instance.app[0] (remote-exec): Receiving objects:  42% (130/308)
  657. google_compute_instance.app[0] (remote-exec): Receiving objects:  43% (133/308)
  658. google_compute_instance.app[0] (remote-exec): Receiving objects:  44% (136/308)
  659. google_compute_instance.app[0] (remote-exec): Receiving objects:  45% (139/308)
  660. google_compute_instance.app[0] (remote-exec): Receiving objects:  46% (142/308)
  661. google_compute_instance.app[0] (remote-exec): Receiving objects:  47% (145/308)
  662. google_compute_instance.app[0] (remote-exec): Receiving objects:  48% (148/308)
  663. google_compute_instance.app[0] (remote-exec): Receiving objects:  49% (151/308)
  664. google_compute_instance.app[0] (remote-exec): Receiving objects:  50% (154/308)
  665. google_compute_instance.app[0] (remote-exec): Receiving objects:  51% (158/308)
  666. google_compute_instance.app[0] (remote-exec): Receiving objects:  52% (161/308)
  667. google_compute_instance.app[0] (remote-exec): Receiving objects:  53% (164/308)
  668. google_compute_instance.app[0] (remote-exec): Receiving objects:  54% (167/308)
  669. google_compute_instance.app[0] (remote-exec): Receiving objects:  55% (170/308)
  670. google_compute_instance.app[0] (remote-exec): Receiving objects:  56% (173/308)
  671. google_compute_instance.app[0] (remote-exec): Receiving objects:  57% (176/308)
  672. google_compute_instance.app[0] (remote-exec): Receiving objects:  58% (179/308)
  673. google_compute_instance.app[0] (remote-exec): Receiving objects:  59% (182/308)
  674. google_compute_instance.app[0] (remote-exec): Receiving objects:  60% (185/308)
  675. google_compute_instance.app[0] (remote-exec): Receiving objects:  61% (188/308)
  676. google_compute_instance.app[0] (remote-exec): Receiving objects:  62% (191/308)
  677. google_compute_instance.app[0] (remote-exec): Receiving objects:  63% (195/308)
  678. google_compute_instance.app[0] (remote-exec): Receiving objects:  64% (198/308)
  679. google_compute_instance.app[0] (remote-exec): Receiving objects:  65% (201/308)
  680. google_compute_instance.app[0] (remote-exec): Receiving objects:  66% (204/308)
  681. google_compute_instance.app[0] (remote-exec): Receiving objects:  67% (207/308)
  682. google_compute_instance.app[0] (remote-exec): Receiving objects:  68% (210/308)
  683. google_compute_instance.app[0] (remote-exec): Receiving objects:  69% (213/308)
  684. google_compute_instance.app[0] (remote-exec): Receiving objects:  70% (216/308)
  685. google_compute_instance.app[0] (remote-exec): Receiving objects:  71% (219/308)
  686. google_compute_instance.app[0] (remote-exec): Receiving objects:  72% (222/308)
  687. google_compute_instance.app[0] (remote-exec): Receiving objects:  73% (225/308)
  688. google_compute_instance.app[0] (remote-exec): Receiving objects:  74% (228/308)
  689. google_compute_instance.app[0] (remote-exec): Receiving objects:  75% (231/308)
  690. google_compute_instance.app[0] (remote-exec): Receiving objects:  76% (235/308)
  691. google_compute_instance.app[0] (remote-exec): Receiving objects:  77% (238/308)
  692. google_compute_instance.app[0] (remote-exec): Receiving objects:  78% (241/308)
  693. google_compute_instance.app[0] (remote-exec): Receiving objects:  79% (244/308)
  694. google_compute_instance.app[0] (remote-exec): Receiving objects:  80% (247/308)
  695. google_compute_instance.app[0] (remote-exec): Receiving objects:  81% (250/308)
  696. google_compute_instance.app[0] (remote-exec): Receiving objects:  82% (253/308)
  697. google_compute_instance.app[0] (remote-exec): Receiving objects:  83% (256/308)
  698. google_compute_instance.app[0] (remote-exec): Receiving objects:  84% (259/308)
  699. google_compute_instance.app[0] (remote-exec): Receiving objects:  85% (262/308)
  700. google_compute_instance.app[0] (remote-exec): Receiving objects:  86% (265/308)
  701. google_compute_instance.app[0] (remote-exec): Receiving objects:  87% (268/308)
  702. google_compute_instance.app[0] (remote-exec): Receiving objects:  88% (272/308)
  703. google_compute_instance.app[0] (remote-exec): Receiving objects:  89% (275/308)
  704. google_compute_instance.app[0] (remote-exec): Receiving objects:  90% (278/308)
  705. google_compute_instance.app[0] (remote-exec): Receiving objects:  91% (281/308)
  706. google_compute_instance.app[0] (remote-exec): Receiving objects:  92% (284/308)
  707. google_compute_instance.app[0] (remote-exec): Receiving objects:  93% (287/308)
  708. google_compute_instance.app[0] (remote-exec): Receiving objects:  94% (290/308)
  709. google_compute_instance.app[0] (remote-exec): Receiving objects:  95% (293/308)
  710. google_compute_instance.app[0] (remote-exec): Receiving objects:  96% (296/308)
  711. google_compute_instance.app[0] (remote-exec): Receiving objects:  97% (299/308)
  712. google_compute_instance.app[0] (remote-exec): Receiving objects:  98% (302/308)
  713. google_compute_instance.app[0] (remote-exec): Receiving objects:  99% (305/308)
  714. google_compute_instance.app[0] (remote-exec): Receiving objects: 100% (308/308)
  715. google_compute_instance.app[0] (remote-exec): Receiving objects: 100% (308/308), 52.01 KiB | 0 bytes/s, done.
  716. google_compute_instance.app[0] (remote-exec): Resolving deltas:   0% (0/167)
  717. google_compute_instance.app[0] (remote-exec): Resolving deltas:   1% (2/167)
  718. google_compute_instance.app[0] (remote-exec): Resolving deltas:   4% (7/167)
  719. google_compute_instance.app[0] (remote-exec): Resolving deltas:   7% (12/167)
  720. google_compute_instance.app[0] (remote-exec): Resolving deltas:  10% (17/167)
  721. google_compute_instance.app[0] (remote-exec): Resolving deltas:  11% (19/167)
  722. google_compute_instance.app[0] (remote-exec): Resolving deltas:  14% (24/167)
  723. google_compute_instance.app[0] (remote-exec): Resolving deltas:  15% (26/167)
  724. google_compute_instance.app[0] (remote-exec): Resolving deltas:  16% (28/167)
  725. google_compute_instance.app[0] (remote-exec): Resolving deltas:  19% (32/167)
  726. google_compute_instance.app[0] (remote-exec): Resolving deltas:  20% (34/167)
  727. google_compute_instance.app[0] (remote-exec): Resolving deltas:  22% (37/167)
  728. google_compute_instance.app[0] (remote-exec): Resolving deltas:  26% (45/167)
  729. google_compute_instance.app[0] (remote-exec): Resolving deltas:  30% (51/167)
  730. google_compute_instance.app[0] (remote-exec): Resolving deltas:  31% (52/167)
  731. google_compute_instance.app[0] (remote-exec): Resolving deltas:  32% (54/167)
  732. google_compute_instance.app[0] (remote-exec): Resolving deltas:  34% (57/167)
  733. google_compute_instance.app[0] (remote-exec): Resolving deltas:  37% (63/167)
  734. google_compute_instance.app[0] (remote-exec): Resolving deltas:  44% (75/167)
  735. google_compute_instance.app[0] (remote-exec): Resolving deltas:  46% (78/167)
  736. google_compute_instance.app[0] (remote-exec): Resolving deltas:  48% (81/167)
  737. google_compute_instance.app[0] (remote-exec): Resolving deltas:  49% (82/167)
  738. google_compute_instance.app[0] (remote-exec): Resolving deltas:  50% (84/167)
  739. google_compute_instance.app[0] (remote-exec): Resolving deltas:  52% (87/167)
  740. google_compute_instance.app[0] (remote-exec): Resolving deltas:  53% (89/167)
  741. google_compute_instance.app[0] (remote-exec): Resolving deltas:  54% (91/167)
  742. google_compute_instance.app[0] (remote-exec): Resolving deltas:  56% (94/167)
  743. google_compute_instance.app[0] (remote-exec): Resolving deltas:  58% (97/167)
  744. google_compute_instance.app[0] (remote-exec): Resolving deltas:  61% (102/167)
  745. google_compute_instance.app[0] (remote-exec): Resolving deltas:  62% (104/167)
  746. google_compute_instance.app[0] (remote-exec): Resolving deltas:  64% (107/167)
  747. google_compute_instance.app[0] (remote-exec): Resolving deltas:  65% (109/167)
  748. google_compute_instance.app[0] (remote-exec): Resolving deltas:  67% (113/167)
  749. google_compute_instance.app[0] (remote-exec): Resolving deltas:  69% (116/167)
  750. google_compute_instance.app[0] (remote-exec): Resolving deltas:  70% (117/167)
  751. google_compute_instance.app[0] (remote-exec): Resolving deltas:  71% (119/167)
  752. google_compute_instance.app[0] (remote-exec): Resolving deltas:  72% (121/167)
  753. google_compute_instance.app[0] (remote-exec): Resolving deltas:  73% (122/167)
  754. google_compute_instance.app[0] (remote-exec): Resolving deltas:  74% (124/167)
  755. google_compute_instance.app[0] (remote-exec): Resolving deltas:  80% (135/167)
  756. google_compute_instance.app[0] (remote-exec): Resolving deltas:  83% (139/167)
  757. google_compute_instance.app[0] (remote-exec): Resolving deltas:  86% (144/167)
  758. google_compute_instance.app[0] (remote-exec): Resolving deltas:  87% (146/167)
  759. google_compute_instance.app[0] (remote-exec): Resolving deltas:  92% (154/167)
  760. google_compute_instance.app[0] (remote-exec): Resolving deltas:  93% (156/167)
  761. google_compute_instance.app[0] (remote-exec): Resolving deltas:  95% (159/167)
  762. google_compute_instance.app[0] (remote-exec): Resolving deltas:  96% (161/167)
  763. google_compute_instance.app[0] (remote-exec): Resolving deltas: 100% (167/167)
  764. google_compute_instance.app[0] (remote-exec): Resolving deltas: 100% (167/167), done.
  765. google_compute_instance.app[0] (remote-exec): Checking connectivity... done.
  766. google_compute_instance.app[1] (remote-exec): Installing bson_ext 1.5.1 with native extensions
  767. google_compute_instance.app[0] (remote-exec): Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  768. google_compute_instance.app.1: Still creating... (50s elapsed)
  769. google_compute_instance.app.0: Still creating... (50s elapsed)
  770. google_compute_instance.app[0] (remote-exec):
  771. google_compute_instance.app[0] (remote-exec): Fetching gem metadata from https://rubygems.org/.
  772. google_compute_instance.app[0] (remote-exec): .
  773. google_compute_instance.app[0] (remote-exec): .
  774. google_compute_instance.app[0] (remote-exec): ..
  775. google_compute_instance.app[1] (remote-exec): Installing i18n 0.8.6
  776. google_compute_instance.app[1] (remote-exec): Installing puma 3.10.0 with native extensions
  777. google_compute_instance.app[0] (remote-exec): .
  778. google_compute_instance.app[0] (remote-exec): .
  779. google_compute_instance.app[0] (remote-exec): .
  780. google_compute_instance.app[0] (remote-exec): .
  781. google_compute_instance.app[0] (remote-exec): .
  782. google_compute_instance.app[0] (remote-exec): Fetching version metadata from https://rubygems.org/.
  783. google_compute_instance.app[0] (remote-exec): .
  784.  
  785. google_compute_instance.app[1] (remote-exec): Installing temple 0.8.0
  786. google_compute_instance.app[1] (remote-exec): Installing tilt 2.0.8
  787. google_compute_instance.app[1] (remote-exec): Installing json 2.1.0 with native extensions
  788. google_compute_instance.app[0] (remote-exec): Installing rake 12.0.0
  789. google_compute_instance.app[0] (remote-exec): Installing net-ssh 4.1.0
  790. google_compute_instance.app[0] (remote-exec): Installing bcrypt 3.1.11 with native extensions
  791. google_compute_instance.app[1] (remote-exec): Installing mustermann 1.0.2
  792. google_compute_instance.app[1] (remote-exec): Installing rack 2.0.5
  793. google_compute_instance.app[1] (remote-exec): Using bundler 1.11.2
  794. google_compute_instance.app[1] (remote-exec): Installing net-scp 1.2.1
  795. google_compute_instance.app[1] (remote-exec): Installing mongo 2.4.3
  796. google_compute_instance.app[1] (remote-exec): Installing haml 5.0.2
  797. google_compute_instance.app[1] (remote-exec): Installing rack-protection 2.0.2
  798. google_compute_instance.app[1] (remote-exec): Installing sshkit 1.14.0
  799. google_compute_instance.app[1] (remote-exec): Installing sinatra 2.0.2
  800. google_compute_instance.app[1] (remote-exec): Installing airbrussh 1.3.0
  801. google_compute_instance.app[1] (remote-exec): Installing capistrano 3.9.0
  802. google_compute_instance.app[1] (remote-exec): Installing capistrano-bundler 1.2.0
  803. google_compute_instance.app[1] (remote-exec): Installing capistrano-rvm 0.1.2
  804. google_compute_instance.app[1] (remote-exec): Installing capistrano3-puma 3.1.1
  805. google_compute_instance.app[1] (remote-exec): Bundle complete! 11 Gemfile dependencies, 24 gems now installed.
  806. google_compute_instance.app[1] (remote-exec): Use `bundle show [gemname]` to see where a bundled gem is installed.
  807. google_compute_instance.app[1] (remote-exec): Post-install message from capistrano3-puma:
  808.  
  809. google_compute_instance.app[1] (remote-exec):     All plugins need to be explicitly installed with install_plugin.
  810. google_compute_instance.app[1] (remote-exec):     Please see README.md
  811. google_compute_instance.app[1] (remote-exec):   Created symlink from /etc/systemd/system/multi-user.target.wants/puma.service to /etc/systemd/system/puma.service.
  812. google_compute_instance.app.0: Still creating... (1m0s elapsed)
  813. google_compute_instance.app.1: Still creating... (1m0s elapsed)
  814. google_compute_instance.app[1]: Creation complete after 1m0s (ID: reddit-app-1)
  815. google_compute_instance.app[0] (remote-exec): Installing bson 4.2.2 with native extensions
  816. google_compute_instance.app[0] (remote-exec): Installing bson_ext 1.5.1 with native extensions
  817. google_compute_instance.app[0] (remote-exec): Installing i18n 0.8.6
  818. google_compute_instance.app[0] (remote-exec): Installing puma 3.10.0 with native extensions
  819. google_compute_instance.app[0] (remote-exec): Installing temple 0.8.0
  820. google_compute_instance.app[0] (remote-exec): Installing tilt 2.0.8
  821. google_compute_instance.app[0] (remote-exec): Installing json 2.1.0 with native extensions
  822. google_compute_instance.app.0: Still creating... (1m10s elapsed)
  823. google_compute_instance.app[0] (remote-exec): Installing mustermann 1.0.2
  824. google_compute_instance.app[0] (remote-exec): Installing rack 2.0.5
  825. google_compute_instance.app[0] (remote-exec): Using bundler 1.11.2
  826. google_compute_instance.app[0] (remote-exec): Installing net-scp 1.2.1
  827. google_compute_instance.app[0] (remote-exec): Installing mongo 2.4.3
  828. google_compute_instance.app[0] (remote-exec): Installing haml 5.0.2
  829. google_compute_instance.app[0] (remote-exec): Installing rack-protection 2.0.2
  830. google_compute_instance.app[0] (remote-exec): Installing sshkit 1.14.0
  831. google_compute_instance.app[0] (remote-exec): Installing sinatra 2.0.2
  832. google_compute_instance.app[0] (remote-exec): Installing airbrussh 1.3.0
  833. google_compute_instance.app[0] (remote-exec): Installing capistrano 3.9.0
  834. google_compute_instance.app[0] (remote-exec): Installing capistrano-bundler 1.2.0
  835. google_compute_instance.app[0] (remote-exec): Installing capistrano-rvm 0.1.2
  836. google_compute_instance.app[0] (remote-exec): Installing capistrano3-puma 3.1.1
  837. google_compute_instance.app[0] (remote-exec): Bundle complete! 11 Gemfile dependencies, 24 gems now installed.
  838. google_compute_instance.app[0] (remote-exec): Use `bundle show [gemname]` to see where a bundled gem is installed.
  839. google_compute_instance.app[0] (remote-exec): Post-install message from capistrano3-puma:
  840.  
  841. google_compute_instance.app[0] (remote-exec):     All plugins need to be explicitly installed with install_plugin.
  842. google_compute_instance.app[0] (remote-exec):     Please see README.md
  843. google_compute_instance.app[0] (remote-exec):   Created symlink from /etc/systemd/system/multi-user.target.wants/puma.service to /etc/systemd/system/puma.service.
  844. google_compute_instance.app[0]: Creation complete after 1m15s (ID: reddit-app-0)
  845. google_compute_instance_group.ruby_app[1]: Creating...
  846.  instances.#:          "" => "1"
  847.  instances.1604855274: "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/zones/europe-west2-b/instances/reddit-app-1"
  848.  name:                 "" => "ruby-web-1"
  849.  named_port.#:         "" => "1"
  850.  named_port.0.name:    "" => "puma-webserver"
  851.  named_port.0.port:    "" => "9292"
  852.  network:              "" => "<computed>"
  853.  project:              "" => "<computed>"
  854.  self_link:            "" => "<computed>"
  855.  size:                 "" => "<computed>"
  856.  zone:                 "" => "europe-west2-b"
  857. google_compute_instance_group.ruby_app[0]: Creating...
  858.  instances.#:          "" => "1"
  859.  instances.3673749636: "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/zones/europe-west1-b/instances/reddit-app-0"
  860.  name:                 "" => "ruby-web-0"
  861.  named_port.#:         "" => "1"
  862.  named_port.0.name:    "" => "puma-webserver"
  863.  named_port.0.port:    "" => "9292"
  864.  network:              "" => "<computed>"
  865.  project:              "" => "<computed>"
  866.  self_link:            "" => "<computed>"
  867.  size:                 "" => "<computed>"
  868.  zone:                 "" => "europe-west1-b"
  869. google_compute_instance_group.ruby_app.1: Still creating... (10s elapsed)
  870. google_compute_instance_group.ruby_app.0: Still creating... (10s elapsed)
  871. google_compute_instance_group.ruby_app.1: Still creating... (20s elapsed)
  872. google_compute_instance_group.ruby_app.0: Still creating... (20s elapsed)
  873. google_compute_instance_group.ruby_app[1]: Creation complete after 23s (ID: europe-west2-b/ruby-web-1)
  874. google_compute_instance_group.ruby_app[0]: Creation complete after 24s (ID: europe-west1-b/ruby-web-0)
  875. google_compute_backend_service.ruby_backend: Creating...
  876.  backend.#:                               "" => "1"
  877.  backend.297084123.balancing_mode:        "" => "UTILIZATION"
  878.  backend.297084123.capacity_scaler:       "" => "1"
  879.  backend.297084123.description:           "" => ""
  880.  backend.297084123.group:                 "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/zones/europe-west1-b/instanceGroups/ruby-web-0"
  881.  backend.297084123.max_rate:              "" => ""
  882.  backend.297084123.max_rate_per_instance: "" => ""
  883.  backend.297084123.max_utilization:       "" => "0.8"
  884.  connection_draining_timeout_sec:         "" => "300"
  885.  enable_cdn:                              "" => "false"
  886.  fingerprint:                             "" => "<computed>"
  887.  health_checks.#:                         "" => "1"
  888.  health_checks.2538269092:                "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/global/healthChecks/ruby-health"
  889.  name:                                    "" => "ruby-backend"
  890.  port_name:                               "" => "puma-webserver"
  891.  project:                                 "" => "<computed>"
  892.  protocol:                                "" => "HTTP"
  893.  self_link:                               "" => "<computed>"
  894.  session_affinity:                        "" => "<computed>"
  895.  timeout_sec:                             "" => "10"
  896. google_compute_backend_service.ruby_backend: Still creating... (10s elapsed)
  897. google_compute_backend_service.ruby_backend: Creation complete after 12s (ID: ruby-backend)
  898. google_compute_url_map.ruby_url: Creating...
  899.  default_service: "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/global/backendServices/ruby-backend"
  900.  fingerprint:     "" => "<computed>"
  901.  map_id:          "" => "<computed>"
  902.  name:            "" => "ruby-url"
  903.  project:         "" => "<computed>"
  904.  self_link:       "" => "<computed>"
  905. google_compute_url_map.ruby_url: Still creating... (10s elapsed)
  906. google_compute_url_map.ruby_url: Creation complete after 12s (ID: ruby-url)
  907. google_compute_target_http_proxy.ruby_proxy: Creating...
  908.  name:      "" => "ruby-proxy"
  909.  project:   "" => "<computed>"
  910.  proxy_id:  "" => "<computed>"
  911.  self_link: "" => "<computed>"
  912.  url_map:   "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/global/urlMaps/ruby-url"
  913. google_compute_target_http_proxy.ruby_proxy: Still creating... (10s elapsed)
  914. google_compute_target_http_proxy.ruby_proxy: Creation complete after 11s (ID: ruby-proxy)
  915. google_compute_global_forwarding_rule.ruby-forwarding: Creating...
  916.  ip_address:        "" => "<computed>"
  917.  ip_protocol:       "" => "<computed>"
  918.  label_fingerprint: "" => "<computed>"
  919.  name:              "" => "ruby-forwarding"
  920.  port_range:        "" => "80"
  921.  project:           "" => "<computed>"
  922.  self_link:         "" => "<computed>"
  923.  target:            "" => "https://www.googleapis.com/compute/v1/projects/aidjek-infrastructure/global/targetHttpProxies/ruby-proxy"
  924. google_compute_global_forwarding_rule.ruby-forwarding: Still creating... (10s elapsed)
  925. google_compute_global_forwarding_rule.ruby-forwarding: Creation complete after 11s (ID: ruby-forwarding)
  926.  
  927. Apply complete! Resources: 10 added, 0 changed, 0 destroyed.
  928.  
  929. Outputs:
  930.  
  931. loadbalancer_external_ip = 107.178.241.156
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement