Skip to content

Instantly share code, notes, and snippets.

@displague
Created March 11, 2019 12:58
Show Gist options
  • Save displague/6c46dcdfa2cf982cb0c2dba8ab1bf1fb to your computer and use it in GitHub Desktop.
Save displague/6c46dcdfa2cf982cb0c2dba8ab1bf1fb to your computer and use it in GitHub Desktop.
 terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
<= read (data resources)
Terraform will perform the following actions:
+ linode_instance.agent_public[0]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.agent_public[1]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.agent_public[2]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.bootstrap
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.master[0]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.master[1]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ linode_instance.master[2]
id: <computed>
alerts.#: <computed>
authorized_keys.#: "1"
authorized_keys.0: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: <computed>
backups_enabled: <computed>
boot_config_label: <computed>
image: "linode/ubuntu18.04"
ip_address: <computed>
ipv4.#: <computed>
ipv6: <computed>
label: <computed>
private_ip: "true"
private_ip_address: <computed>
region: "us-east"
specs.#: <computed>
status: <computed>
swap_size: <computed>
type: "g6-standard-2"
watchdog_enabled: "true"
+ null_resource.agent[0]
id: <computed>
triggers.%: <computed>
+ null_resource.agent[1]
id: <computed>
triggers.%: <computed>
+ null_resource.agent[2]
id: <computed>
triggers.%: <computed>
+ null_resource.bootstrap
id: <computed>
triggers.%: <computed>
+ null_resource.master[0]
id: <computed>
triggers.%: <computed>
+ null_resource.master[1]
id: <computed>
triggers.%: <computed>
+ null_resource.master[2]
id: <computed>
triggers.%: <computed>
<= module.dcos-bootstrap.data.template_file.script
id: <computed>
rendered: <computed>
template: "#!/bin/sh\n\nmkdir -p genconf\ncat << 'EOF' | sed '/^$/d' | tee genconf/config.yaml\n---\n# Auto-generated by Terraform Templates\n# Created on date: ${timestamp()}\n${bootstrap_private_ip == \"\" ? \"\" : \"bootstrap_url: http://${bootstrap_private_ip}:${dcos_bootstrap_port}\"}\n${dcos_cluster_name == \"\" ? \"\" : \"cluster_name: ${dcos_cluster_name}\"}\n${dcos_security== \"\" ? \"\" : \"security: ${dcos_security}\"}\n${dcos_resolvers== \"\" ? \"\" : \"resolvers: ${dcos_resolvers}\"}\n${dcos_oauth_enabled== \"\" ? \"\" : \"oauth_enabled: ${dcos_oauth_enabled}\"}\n${dcos_master_discovery== \"\" ? \"\" : \"master_discovery: ${dcos_master_discovery}\"}\n${dcos_aws_template_storage_bucket== \"\" ? \"\" : \"aws_template_storage_bucket: ${dcos_aws_template_storage_bucket}\"}\n${dcos_aws_template_storage_bucket_path== \"\" ? \"\" : \"aws_template_storage_bucket_path: ${dcos_aws_template_storage_bucket_path}\"}\n${dcos_aws_template_storage_region_name== \"\" ? \"\" : \"aws_template_storage_region_name: ${dcos_aws_template_storage_region_name}\"}\n${dcos_aws_template_upload== \"\" ? \"\" : \"aws_template_upload: ${dcos_aws_template_upload}\"}\n${dcos_aws_template_storage_access_key_id== \"\" ? \"\" : \"aws_template_storage_access_key_id: ${dcos_aws_template_storage_access_key_id}\"}\n${dcos_aws_template_storage_secret_access_key== \"\" ? \"\" : \"aws_template_storage_secret_access_key: ${dcos_aws_template_storage_secret_access_key}\"}\n${dcos_adminrouter_tls_1_0_enabled== \"\" ? \"\" : \"adminrouter_tls_1_0_enabled: ${dcos_adminrouter_tls_1_0_enabled}\"}\n${dcos_adminrouter_tls_1_1_enabled== \"\" ? \"\" : \"adminrouter_tls_1_1_enabled: ${dcos_adminrouter_tls_1_1_enabled}\"}\n${dcos_adminrouter_tls_1_2_enabled== \"\" ? \"\" : \"adminrouter_tls_1_2_enabled: ${dcos_adminrouter_tls_1_2_enabled}\"}\n${dcos_adminrouter_tls_cipher_suite== \"\" ? \"\" : \"adminrouter_tls_cipher_suite: ${dcos_adminrouter_tls_cipher_suite}\"}\n${dcos_ca_certificate_path== \"\" ? \"\" : \"ca_certificate_path: ${dcos_ca_certificate_path}\"}\n${dcos_ca_certificate_key_path== \"\" ? \"\" : \"ca_certificate_key_path: ${dcos_ca_certificate_key_path}\"}\n${dcos_ca_certificate_chain_path== \"\" ? \"\" : \"ca_certificate_chain_path: ${dcos_ca_certificate_chain_path}\"}\n${dcos_exhibitor_storage_backend== \"\" ? \"\" : \"exhibitor_storage_backend: ${dcos_exhibitor_storage_backend}\"}\n${dcos_exhibitor_storage_backend == \"zookeeper\" ? dcos_exhibitor_zk_hosts== \"\" ? \"\" : \"exhibitor_zk_hosts: ${dcos_exhibitor_zk_hosts}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"zookeeper\" ? dcos_exhibitor_zk_path== \"\" ? \"\" : \"exhibitor_zk_path: ${dcos_exhibitor_zk_path}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_aws_access_key_id== \"\" ? \"\" : \"aws_access_key_id: ${dcos_aws_access_key_id}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_aws_region== \"\" ? \"\" : \"aws_region: ${dcos_aws_region}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_aws_secret_access_key== \"\" ? \"\" : \"aws_secret_access_key: ${dcos_aws_secret_access_key}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_exhibitor_explicit_keys== \"\" ? \"\" : \"exhibitor_explicit_keys: ${dcos_exhibitor_explicit_keys}\" :\"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_s3_bucket== \"\" ? \"\" : \"s3_bucket: ${dcos_s3_bucket}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"aws_s3\" ? dcos_s3_prefix== \"\" ? \"\" : \"s3_prefix: ${dcos_s3_prefix}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"azure\" ? dcos_exhibitor_azure_account_name== \"\" ? \"\" : \"exhibitor_azure_account_name: ${dcos_exhibitor_azure_account_name}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"azure\" ? dcos_exhibitor_azure_account_key== \"\" ? \"\" : \"exhibitor_azure_account_key: ${dcos_exhibitor_azure_account_key}\" : \"\"}\n${dcos_exhibitor_storage_backend == \"azure\" ? dcos_exhibitor_azure_prefix== \"\" ? \"\" : \"exhibitor_azure_prefix: ${dcos_exhibitor_azure_prefix}\" : \"\"}\n${dcos_master_external_loadbalancer == \"\" ? \"\" : \"master_external_loadbalancer: ${dcos_master_external_loadbalancer}\"}\n${dcos_master_discovery == \"master_http_loadbalancer\" ? dcos_num_masters == \"\" ? \"\" : \"num_masters: ${dcos_num_masters}\" : \"\"}\n${dcos_master_discovery == \"master_http_loadbalancer\" ? dcos_exhibitor_address== \"\" ? \"\" : \"exhibitor_address: ${dcos_exhibitor_address}\" : \"\"}\n${dcos_master_discovery == \"static\" ? dcos_master_list== \"\" ? \"\" : \"master_list: ${dcos_master_list}\" : \"\"}\n${dcos_customer_key== \"\" ? \"\" : \"customer_key: ${dcos_customer_key}\"}\n${dcos_custom_checks== \"\" ? \"\" : \"custom_checks: ${dcos_custom_checks}\"}\n${dcos_dns_bind_ip_blacklist== \"\" ? \"\" : \"dns_bind_ip_blacklist: ${dcos_dns_bind_ip_blacklist}\"}\n${dcos_l4lb_enable_ipv6== \"\" ? \"\" : \"dcos_l4lb_enable_ipv6: ${dcos_l4lb_enable_ipv6}\"}\n${dcos_ucr_default_bridge_subnet== \"\" ? \"\" : \"dcos_ucr_default_bridge_subnet: ${dcos_ucr_default_bridge_subnet}\"}\n${dcos_enable_gpu_isolation== \"\" ? \"\" : \"enable_gpu_isolation: ${dcos_enable_gpu_isolation}\"}\n${dcos_gpus_are_scarce== \"\" ? \"\" : \"gpus_are_scarce: ${dcos_gpus_are_scarce}\"}\n${dcos_rexray_config_method== \"\" ? \"\" : \"rexray_config_method: ${dcos_rexray_config_method}\"}\n${dcos_rexray_config_filename== \"\" ? \"\" : \"rexray_config_filename: ${dcos_rexray_config_filename}\"}\n${dcos_auth_cookie_secure_flag== \"\" ? \"\" : \"auth_cookie_secure_flag: ${dcos_auth_cookie_secure_flag}\"}\n${dcos_bouncer_expiration_auth_token_days== \"\" ? \"\" : \"bouncer_expiration_auth_token_days: ${dcos_bouncer_expiration_auth_token_days}\"}\n${dcos_superuser_password_hash== \"\" ? \"\" : \"superuser_password_hash: ${dcos_superuser_password_hash}\"}\n${dcos_superuser_username== \"\" ? \"\" : \"superuser_username: ${dcos_superuser_username}\"}\n${dcos_telemetry_enabled== \"\" ? \"\" : \"telemetry_enabled: ${dcos_telemetry_enabled}\"}\n${dcos_zk_super_credentials== \"\" ? \"\" : \"zk_super_credentials: ${dcos_zk_super_credentials}\"}\n${dcos_zk_master_credentials== \"\" ? \"\" : \"zk_master_credentials: ${dcos_zk_master_credentials}\"}\n${dcos_zk_agent_credentials== \"\" ? \"\" : \"zk_agent_credentials: ${dcos_zk_agent_credentials}\"}\n${dcos_overlay_enable== \"\" ? \"\" : \"dcos_overlay_enable: ${dcos_overlay_enable}\"}\n${dcos_overlay_config_attempts== \"\" ? \"\" : \"dcos_overlay_config_attempts: ${dcos_overlay_config_attempts}\"}\n${dcos_overlay_mtu== \"\" ? \"\" : \"dcos_overlay_mtu: ${dcos_overlay_mtu}\"}\n${dcos_overlay_network== \"\" ? \"\" : \"dcos_overlay_network: ${dcos_overlay_network}\"}\n${dcos_dns_search== \"\" ? \"\" : \"dns_search: ${dcos_dns_search}\"}\n${dcos_dns_forward_zones== \"\" ? \"\" : \"dns_forward_zones: ${dcos_dns_forward_zones}\"}\n${dcos_master_dns_bindall== \"\" ? \"\" : \"master_dns_bindall: ${dcos_master_dns_bindall}\"}\n${dcos_mesos_max_completed_tasks_per_framework== \"\" ? \"\" : \"mesos_max_completed_tasks_per_framework: ${dcos_mesos_max_completed_tasks_per_framework}\"}\n${dcos_mesos_container_log_sink== \"\" ? \"\" : \"mesos_container_log_sink: ${dcos_mesos_container_log_sink}\"}\n${dcos_mesos_dns_set_truncate_bit== \"\" ? \"\" : \"mesos_dns_set_truncate_bit: ${dcos_mesos_dns_set_truncate_bit}\"}\n${dcos_master_dns_bindall== \"\" ? \"\" : \"master_dns_bindall: ${dcos_master_dns_bindall}\"}\n${dcos_license_key_contents== \"\" ? \"\" : \"license_key_contents: ${dcos_license_key_contents}\"}\n${dcos_fault_domain_detect_contents== \"\" ? \"\" : \"fault_domain_detect_contents: ${dcos_fault_domain_detect_contents}\"}\n${dcos_fault_domain_enabled== \"\" ? \"\" : \"fault_domain_enabled: ${dcos_fault_domain_enabled}\"}\n${dcos_use_proxy== \"\" ? \"\" : \"use_proxy: ${dcos_use_proxy}\"}\n${dcos_http_proxy== \"\" ? \"\" : \"http_proxy: ${dcos_http_proxy}\"}\n${dcos_https_proxy== \"\" ? \"\" : \"https_proxy: ${dcos_https_proxy}\"}\n${dcos_no_proxy== \"\" ? \"\" : \"no_proxy: ${dcos_no_proxy}\"}\n${dcos_check_time== \"\" ? \"\" : \"check_time: ${dcos_check_time}\"}\n${dcos_ip_detect_contents== \"\" ? \"\" : \"ip_detect_contents: ${dcos_ip_detect_contents}\"}\n${dcos_ip_detect_public_contents== \"\" ? \"\" : \"ip_detect_public_contents: ${dcos_ip_detect_public_contents}\"}\n${dcos_ip_detect_public_filename== \"\" ? \"\" : \"ip_detect_public_filename: ${dcos_ip_detect_public_filename}\"}\n${dcos_docker_remove_delay== \"\" ? \"\" : \"docker_remove_delay: ${dcos_docker_remove_delay}\"}\n${dcos_enable_docker_gc== \"\" ? \"\" : \"enable_docker_gc: ${dcos_enable_docker_gc}\"}\n${dcos_audit_logging== \"\" ? \"\" : \"audit_logging: ${dcos_audit_logging}\"}\n${dcos_gc_delay== \"\" ? \"\" : \"gc_delay: ${dcos_gc_delay}\"}\n${dcos_log_directory== \"\" ? \"\" : \"log_directory: ${dcos_log_directory}\"}\n${dcos_process_timeout== \"\" ? \"\" : \"process_timeout: ${dcos_process_timeout}\"}\n${dcos_cluster_docker_credentials== \"\" ? \"\" : \"cluster_docker_credentials: ${dcos_cluster_docker_credentials}\"}\n${dcos_cluster_docker_credentials_dcos_owned== \"\" ? \"\" : \"cluster_docker_credentials_dcos_owned: ${dcos_cluster_docker_credentials_dcos_owned}\"}\n${dcos_cluster_docker_credentials_write_to_etc== \"\" ? \"\" : \"cluster_docker_credentials_write_to_etc: ${dcos_cluster_docker_credentials_write_to_etc}\"}\n${dcos_cluster_docker_credentials_enabled== \"\" ? \"\" : \"cluster_docker_credentials_enabled: ${dcos_cluster_docker_credentials_enabled}\"}\n${dcos_cluster_docker_registry_url == \"\" ? \"\" : \"cluster_docker_registry_url: ${dcos_cluster_docker_registry_url}\"}\n${dcos_cluster_docker_registry_enabled == \"\" ? \"\" : \"cluster_docker_registry_enabled: ${dcos_cluster_docker_registry_enabled}\"}\n${dcos_rexray_config == \"\" ? \"\" : \"rexray_config: ${dcos_rexray_config}\"}\n${dcos_staged_package_storage_uri == \"\" ? \"\" : dcos_package_storage_uri == \"\" ? \"\" : \"cosmos_config:\"}\n${dcos_staged_package_storage_uri == \"\" ? \"\" : \" staged_package_storage_uri: ${dcos_staged_package_storage_uri}\"}\n${dcos_package_storage_uri == \"\" ? \"\" : \" package_storage_uri: ${dcos_package_storage_uri}\"}\n${dcos_enable_mesos_input_plugin == \"\" ? \"\" : \"enable_mesos_input_plugin: ${dcos_enable_mesos_input_plugin}\"}\n${dcos_config== \"\" ? \"\" : \"${dcos_config}\"}\nEOF\ncurl -o dcos_generate_config.${dcos_version}.sh ${dcos_download_path}\ncp /tmp/ip-detect genconf/. &> /dev/null; if [[ $? -ne 0 ]]; then echo \"skipping absent /tmp/ip-detect file\"; else echo \"copied file /tmp/ip-detect to ~/genconf\"; fi\ncp /tmp/ip-detect-public genconf/. &> /dev/null; if [[ $? -ne 0 ]]; then echo \"skipping absent /tmp/ip-detect-public file\"; else echo \"copied file /tmp/ip-detect-public to ~/genconf\"; fi\ncp /tmp/fault-domain-detect genconf/. &> /dev/null; if [[ $? -ne 0 ]]; then echo \"skipping absent /tmp/fault-domain-detect file\"; else echo \"copied file /tmp/fault-domain-detect to ~/genconf\"; fi\ncp /tmp/license.txt genconf/. &> /dev/null; if [[ $? -ne 0 ]]; then echo \"skipping absent /tmp/license.txt file\"; else echo \"copied file /tmp/license.txt to ~/genconf\"; fi\nbash dcos_generate_config.${dcos_version}.sh || exit 1\ndocker rm -f $(docker ps -a -q -f ancestor=nginx:1.15.0) &> /dev/null; if [[ $? -eq 0 ]]; then echo \"reloaded nginx...\"; fi\ndocker run -d -p ${dcos_bootstrap_port}:80 -v $PWD/genconf/serve:/usr/share/nginx/html:ro nginx:1.15.0\n"
vars.%: <computed>
<= module.dcos-mesos-agent-public.data.template_file.script
id: <computed>
rendered: <computed>
template: "#!/bin/sh\n\n# Install Agent Node\nmkdir /tmp/dcos && cd /tmp/dcos\n/usr/bin/curl -O ${bootstrap_private_ip}:${dcos_bootstrap_port}/dcos_install.sh\nbash dcos_install.sh slave_public\n# Agent Node End\n"
vars.%: <computed>
<= module.dcos-mesos-master.data.template_file.script
id: <computed>
rendered: <computed>
template: "#!/bin/sh\n\n# Install Master Node\nmkdir /tmp/dcos && cd /tmp/dcos\n/usr/bin/curl -O ${bootstrap_private_ip}:${dcos_bootstrap_port}/dcos_install.sh\nbash dcos_install.sh master\n# Master Node End\n"
vars.%: <computed>
Plan: 14 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
linode_instance.master[1]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.bootstrap: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.agent_public[0]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.agent_public[2]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.master[2]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.agent_public[1]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.master[0]: Creating...
alerts.#: "" => "<computed>"
authorized_keys.#: "" => "1"
authorized_keys.0: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8TltjvdBUmTrNVCGXcjIBC66Nx63NyJ2hdMysiL6gLyLq8IT6J4D+gaeilM9doOFPpwOTZ725qQCK+pfyC//IgrBHwx82jY3QfuERldKxjxxu2MYVixXRGnNNeM/kqMJlTCcbg4U93M2dBu+LLQxLW4RLXrFpwCd/7li7Isnu7xZywlVQOC6Zn1Sdvcxn/65e3QMR2lewSOmTQDcOzGcKuF5+f4Sl1ErMBrt/4gkkOpAHT1o4lRJnplzhqvVD97aTQWWEkoV47sIl46SZPVBK0LjjCAnXtDDV29xQtEia9jN4OXaRsM6MxZIFaVa+RieZqlNjNwY/wKsk+bdBXUtX [email protected]"
backups.#: "" => "<computed>"
backups_enabled: "" => "<computed>"
boot_config_label: "" => "<computed>"
image: "" => "linode/ubuntu18.04"
ip_address: "" => "<computed>"
ipv4.#: "" => "<computed>"
ipv6: "" => "<computed>"
label: "" => "<computed>"
private_ip: "" => "true"
private_ip_address: "" => "<computed>"
region: "" => "us-east"
specs.#: "" => "<computed>"
status: "" => "<computed>"
swap_size: "" => "<computed>"
type: "" => "g6-standard-2"
watchdog_enabled: "" => "true"
linode_instance.master.1: Still creating... (10s elapsed)
linode_instance.agent_public.0: Still creating... (10s elapsed)
linode_instance.master.0: Still creating... (10s elapsed)
linode_instance.master.2: Still creating... (10s elapsed)
linode_instance.agent_public.1: Still creating... (10s elapsed)
linode_instance.bootstrap: Still creating... (10s elapsed)
linode_instance.agent_public.2: Still creating... (10s elapsed)
linode_instance.agent_public.0: Still creating... (20s elapsed)
linode_instance.master.2: Still creating... (20s elapsed)
linode_instance.master.1: Still creating... (20s elapsed)
linode_instance.master.0: Still creating... (20s elapsed)
linode_instance.agent_public.1: Still creating... (20s elapsed)
linode_instance.bootstrap: Still creating... (20s elapsed)
linode_instance.agent_public.2: Still creating... (20s elapsed)
linode_instance.master.2: Still creating... (30s elapsed)
linode_instance.agent_public.0: Still creating... (30s elapsed)
linode_instance.master.0: Still creating... (30s elapsed)
linode_instance.master.1: Still creating... (30s elapsed)
linode_instance.agent_public.1: Still creating... (30s elapsed)
linode_instance.agent_public.2: Still creating... (30s elapsed)
linode_instance.bootstrap: Still creating... (30s elapsed)
linode_instance.master.2: Still creating... (40s elapsed)
linode_instance.agent_public.0: Still creating... (40s elapsed)
linode_instance.master.1: Still creating... (40s elapsed)
linode_instance.master.0: Still creating... (40s elapsed)
linode_instance.agent_public.1: Still creating... (40s elapsed)
linode_instance.bootstrap: Still creating... (40s elapsed)
linode_instance.agent_public.2: Still creating... (40s elapsed)
linode_instance.master.0: Still creating... (50s elapsed)
linode_instance.bootstrap: Still creating... (50s elapsed)
linode_instance.master.1: Still creating... (50s elapsed)
linode_instance.agent_public.2: Still creating... (50s elapsed)
linode_instance.agent_public.0: Still creating... (50s elapsed)
linode_instance.agent_public.1: Still creating... (50s elapsed)
linode_instance.master.2: Still creating... (50s elapsed)
linode_instance.agent_public[0]: Creation complete after 51s (ID: 13176770)
linode_instance.bootstrap: Creation complete after 51s (ID: 13176767)
module.dcos-mesos-agent-public.data.template_file.script: Refreshing state...
module.dcos-mesos-master.data.template_file.script: Refreshing state...
linode_instance.master[1]: Creation complete after 52s (ID: 13176771)
linode_instance.master.0: Still creating... (1m0s elapsed)
linode_instance.agent_public.1: Still creating... (1m0s elapsed)
linode_instance.agent_public.2: Still creating... (1m0s elapsed)
linode_instance.master.2: Still creating... (1m0s elapsed)
linode_instance.master[0]: Creation complete after 1m3s (ID: 13176774)
linode_instance.master[2]: Creation complete after 1m5s (ID: 13176769)
linode_instance.agent_public.2: Still creating... (1m10s elapsed)
linode_instance.agent_public.1: Still creating... (1m10s elapsed)
linode_instance.agent_public[1]: Creation complete after 1m13s (ID: 13176775)
linode_instance.agent_public[2]: Creation complete after 1m14s (ID: 13176772)
module.dcos-bootstrap.data.template_file.script: Refreshing state...
null_resource.bootstrap: Creating...
triggers.%: "" => "3"
triggers.cluster_instance_ids: "" => "13176767"
triggers.dcos_version: "" => "1.12.2"
triggers.num_of_masters: "" => "3"
null_resource.bootstrap: Provisioning with 'file'...
null_resource.bootstrap: Provisioning with 'remote-exec'...
null_resource.bootstrap (remote-exec): Connecting to remote host via SSH...
null_resource.bootstrap (remote-exec): Host: 173.255.230.221
null_resource.bootstrap (remote-exec): User: root
null_resource.bootstrap (remote-exec): Password: false
null_resource.bootstrap (remote-exec): Private key: false
null_resource.bootstrap (remote-exec): SSH Agent: true
null_resource.bootstrap (remote-exec): Checking Host Key: false
null_resource.bootstrap: Still creating... (10s elapsed)
null_resource.bootstrap (remote-exec): Connected!
null_resource.bootstrap (remote-exec): ---
null_resource.bootstrap (remote-exec): # Auto-generated by Terraform Templates
null_resource.bootstrap (remote-exec): # Created on date: 2019-03-11T03:34:46Z
null_resource.bootstrap (remote-exec): bootstrap_url: http://192.168.200.13:80
null_resource.bootstrap (remote-exec): % Total % Received % Xferd Average Speed Time Time Time Current
null_resource.bootstrap (remote-exec): Dload Upload Total Spent Left Speed
null_resource.bootstrap (remote-exec): 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
null_resource.bootstrap (remote-exec): 1 931M 1 9814k 0 0 17.1M 0 0:00:54 --:--:-- 0:00:54 17.1M
null_resource.bootstrap (remote-exec): 7 931M 7 66.7M 0 0 42.9M 0 0:00:21 0:00:01 0:00:20 42.8M
null_resource.bootstrap (remote-exec): 13 931M 13 122M 0 0 48.0M 0 0:00:19 0:00:02 0:00:17 48.0M
null_resource.bootstrap (remote-exec): 17 931M 17 160M 0 0 45.1M 0 0:00:20 0:00:03 0:00:17 45.1M
null_resource.bootstrap (remote-exec): 23 931M 23 217M 0 0 47.7M 0 0:00:19 0:00:04 0:00:15 47.7M
null_resource.bootstrap (remote-exec): 28 931M 28 269M 0 0 48.5M 0 0:00:19 0:00:05 0:00:14 52.0M
null_resource.bootstrap (remote-exec): 34 931M 34 323M 0 0 49.3M 0 0:00:18 0:00:06 0:00:12 51.3M
null_resource.bootstrap (remote-exec): 41 931M 41 382M 0 0 50.5M 0 0:00:18 0:00:07 0:00:11 51.8M
null_resource.bootstrap (remote-exec): 47 931M 47 446M 0 0 52.1M 0 0:00:17 0:00:08 0:00:09 57.1M
null_resource.bootstrap: Still creating... (20s elapsed)
null_resource.bootstrap (remote-exec): 54 931M 54 505M 0 0 52.8M 0 0:00:17 0:00:09 0:00:08 57.5M
null_resource.bootstrap (remote-exec): 60 931M 60 562M 0 0 53.3M 0 0:00:17 0:00:10 0:00:07 58.6M
null_resource.bootstrap (remote-exec): 65 931M 65 607M 0 0 52.5M 0 0:00:17 0:00:11 0:00:06 56.8M
null_resource.bootstrap (remote-exec): 68 931M 68 635M 0 0 50.6M 0 0:00:18 0:00:12 0:00:06 50.7M
null_resource.bootstrap (remote-exec): 73 931M 73 684M 0 0 50.5M 0 0:00:18 0:00:13 0:00:05 47.6M
null_resource.bootstrap (remote-exec): 78 931M 78 732M 0 0 50.3M 0 0:00:18 0:00:14 0:00:04 45.4M
null_resource.bootstrap (remote-exec): 84 931M 84 787M 0 0 50.6M 0 0:00:18 0:00:15 0:00:03 44.9M
null_resource.bootstrap (remote-exec): 90 931M 90 845M 0 0 51.0M 0 0:00:18 0:00:16 0:00:02 47.5M
null_resource.bootstrap (remote-exec): 96 931M 96 901M 0 0 51.3M 0 0:00:18 0:00:17 0:00:01 53.0M
null_resource.bootstrap (remote-exec): 100 931M 100 931M 0 0 51.1M 0 0:00:18 0:00:18 --:--:-- 52.9M
null_resource.bootstrap (remote-exec): ./run.sh: 102: ./run.sh: [[: not found
null_resource.bootstrap (remote-exec): copied file /tmp/ip-detect to ~/genconf
null_resource.bootstrap (remote-exec): ./run.sh: 103: ./run.sh: [[: not found
null_resource.bootstrap (remote-exec): copied file /tmp/ip-detect-public to ~/genconf
null_resource.bootstrap (remote-exec): ./run.sh: 104: ./run.sh: [[: not found
null_resource.bootstrap (remote-exec): copied file /tmp/fault-domain-detect to ~/genconf
null_resource.bootstrap (remote-exec): ./run.sh: 105: ./run.sh: [[: not found
null_resource.bootstrap (remote-exec): copied file /tmp/license.txt to ~/genconf
null_resource.bootstrap (remote-exec): cp: cannot stat '/tmp/ip-detect': No such file or directory
null_resource.bootstrap (remote-exec): cp: cp: cannot stat '/tmp/fault-domain-detect': No such file or directory
null_resource.bootstrap (remote-exec): cp: cannot stat '/tmp/license.txt': No such file or directory
null_resource.bootstrap (remote-exec): cannot stat '/tmp/ip-detect-public': No such file or directory
null_resource.bootstrap (remote-exec): docker should be installed and running. Aborting.
Error: Error applying plan:
1 error(s) occurred:
* null_resource.bootstrap: error executing "/tmp/terraform_1023587176.sh": Process exited with status 1
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment