Commit Graph

51 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot] 005636afa0 [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
Jason Paul Deland 1ed857266a
update hashistack demo for current versions of Terraform
Replace deprecated `template` block with `templatefile` function
2022-06-21 16:09:11 -04:00
Tim Gross 4078e6ea0e
scripts: fix interpreter for bash (#12549)
Many of our scripts have a non-portable interpreter line for bash and
use bash-specific variables like `BASH_SOURCE`. Update the interpreter
line to be portable between various Linuxes and macOS without
complaint from posix shell users.
2022-04-12 10:08:21 -04:00
Mahmood Ali 906528c197
Format Terraform files (#11099)
Also format terraform scripts with hclfmt, equivalent to terraform fmt.

I opted not to use terraform fmt, because I didn't want to introduce dev dependency on the terraform CLI.

Also, I've optimized the find command to ignore spurious directories (e.g. .git, node_modules) that seem to be populated with too many files! make hclfmt takes 0.3s on my mac down from 7 seconds!
2021-09-01 15:15:06 -04:00
Turtle Kalus 0b1c516f7c
Use latest AMI for Ubuntu Xenial based on search (#9076)
Also, remove public share for ami build.
2020-10-14 11:01:54 -04:00
Omar Khawaja b1d2fa77d3
separate vars and outputs into their own files and update default link in nomad binary variable to 0.10.0 release (#6550) 2019-10-25 14:15:30 -04:00
Omar Khawaja 01f2ca6941
Upgrade Nomad terraform directory for TF 0.12+ (#6424)
* update

* fix error

* convert server ips in list of string and loop through for output

* drop the for loop in outputs and keep the join command

* switched to TF 0.12 splat expression
2019-10-07 12:43:42 -04:00
Omar Khawaja 22ebf2bbc1
TF config enable services (#5947)
* enable vault, consul, and nomad services to make them persistent after reboot

* update AMI
2019-07-11 22:36:58 +02:00
Omar Khawaja 81f0764697 roll back to previous ami 2019-06-18 10:20:13 -04:00
Charlie Voiselle ded9dcbb9a Proposing new tfvars with additional inline docs 2019-05-24 12:30:06 -04:00
Chris Baker 61961d338e terraform: modified default client instance type to a more reasonable t2.medium, left commented GPU instance type 2019-04-11 14:13:30 +00:00
Chris Baker 8432afc458 terraform/packer: revert name of AMI to generic "hashistack" instead of my name 2019-04-11 14:11:32 +00:00
Chris Baker c135bad029 terraform: work on terraform setup
* support for 0.9.0
* ELB for servers
* better output
* customizable security groups
* nvidia-docker support
* different server/client instance types
2019-04-11 13:00:20 +00:00
Omar Khawaja 2eab3db0dc
AWS env update (#5423)
* update versions of all products and add consul-template

* update client and server user_data scripts

* modify README.md and terraform.tfvars

* fix typo in consul-template system unit file

* update AMI id
2019-03-15 15:55:34 -04:00
Omar Khawaja 0f45d81e7c
make root block device size configurable (#5368) 2019-02-28 11:35:57 -05:00
Nathan R Valentine 7fdf78c57c change retry_join to a map for easier tag handling 2018-12-18 15:48:17 -08:00
Omar Khawaja 0b9f32c6d2
AWS sandbox environment upgrade (#4873)
* upgrade Nomad from 0.8.4 to 0.8.6

* update deprecated nomad and vault commands

* update AMI ID

* add ingress rule for default fabio port and fabio UI

* upgrade Consul and Vault versions

* update AMI ID in README.md and terraform.tfvars
2018-11-13 23:21:01 -05:00
Rob Genova b1fc227b5c bump Vault, Consul, Nomad versions; update AWS AMI 2018-06-26 22:13:47 +00:00
Rob Genova 40fff0cbfa bump Nomad to 0.8.1, Hadoop to 2.7.6 2018-04-18 22:33:58 +00:00
Rob Genova 276b4f5619 Update to Nomad 0.8, Consul 1.0.7 and Vault 0.10 2018-04-15 23:00:55 +00:00
Rob Genova 83e7aedef2 New AMI based on bumped dependency versions 2018-04-12 16:53:09 +00:00
Rob Genova 24140e17dd Add variable to enable unique naming of infra components 2018-03-31 18:01:21 +00:00
Rob Genova 4db0f9a4a4 Bump Hadoop version in run-time config scripts; update AMI 2018-03-20 19:55:09 +00:00
Rob Genova f42487531a Support dynamic replacement of the Nomad binary at run-time 2018-03-20 17:46:32 +00:00
Josh Soref 46a4cafe65 spelling: usually 2018-03-11 19:12:06 +00:00
Josh Soref a675868285 spelling: available 2018-03-11 17:42:56 +00:00
Rob Genova 5d4327baeb Update AWS scripts and README to reflect latest, pre-built AMI 2018-01-09 22:35:58 +00:00
Rob Genova 67d21ed192 restructure README files; add Azure README 2017-11-15 19:40:34 +00:00
Rob Genova c392e85738 update AWS Terraform configs for consistency 2017-11-15 19:38:50 +00:00
Rob Genova ffa44f6651 update config files to support systemd and Azure; reorganize Packer file hierarchy; update Vagrantfile to use latest tool versions 2017-11-15 19:31:46 +00:00
Rob Genova 9f724b07fc update AWS Terraform configs to support multi-cloud changes 2017-11-01 21:18:07 +00:00
Rob Genova 0bf3f5da2d update AMI ID; remove unnecessary output 2017-08-08 00:41:17 +00:00
Rob Genova 7f87b0ea20 bind Nomad to all interfaces; enable Consul UI 2017-08-04 18:00:05 +00:00
Rob Genova 5bcf32282f Update scripts and AMI to reflect Nomad 0.6 2017-07-26 22:34:34 +00:00
Rob Genova e92daeb943 update AMI 2017-07-07 22:31:22 -07:00
Rob Genova 2174eaa65e update AMI ID 2017-07-07 11:11:25 -07:00
Michael Schurter 2d2325eea7 Fix super minor typos 2017-06-26 10:56:50 -07:00
Rob Genova 3d5805d296 update AMI 2017-06-25 12:59:50 -07:00
Rob Genova 7f1c84c59c slight tweak to Packer README 2017-06-25 11:54:29 -07:00
Rob Genova 7a938fde20 cleanup Vagrantfile, Terraform configs and Nomad job files 2017-06-25 11:10:14 -07:00
Rob Genova dbbaea9e09 reformat Packer README 2017-06-25 11:09:05 -07:00
Rob Genova e52ae12941 obscure KEY_NAME 2017-06-24 16:51:26 -07:00
Rob Genova 1e6cb9042f refactor Terraform module, Packer config; bump tool version #s in Vagrantfile 2017-06-24 16:24:24 -07:00
Rob Genova b234a4e3d8 update READMEs 2017-06-15 15:49:02 -07:00
Rob Genova 2a55f9ce2b use appropriate AMI name 2017-06-15 15:48:18 -07:00
Rob Genova fe5797bfaa install latest versions of products 2017-06-15 15:47:46 -07:00
Rob Genova 7ef28b1604 Fix minor syntax issue 2017-06-15 15:46:53 -07:00
Rob Genova 26c937249c update READMEs 2017-05-15 21:40:20 -07:00
Rob Genova d5c3fabc77 update READMEs 2017-05-15 21:33:40 -07:00
Rob Genova 33e7af8314 terraform README updates 2017-05-15 21:17:48 -07:00