Nick Wales
e014e8411c
terraform: updates AWS example packer and terraform code ( #19512 )
...
The "Provision a Nomad cluster in the cloud" works in AWS with these updates:
- use an available ubuntu version
- uses hashicorp packages where possible
- updates Nvidia installation
- installs CNI plugins
2024-04-16 10:47:31 -04:00
hashicorp-copywrite[bot]
a9d61ea3fd
Update copyright file headers to BUSL-1.1
2023-08-10 17:27:29 -05:00
hashicorp-copywrite[bot]
f005448366
[COMPLIANCE] Add Copyright and License Headers
2023-04-10 15:36:59 +00:00
Jason Paul Deland
46b41bc256
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
247e20e10b
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
cd59172191
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
33cc888850
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
71cac63f28
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
7b08e19f72
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
88c03d0888
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
04d82e6628
roll back to previous ami
2019-06-18 10:20:13 -04:00
Charlie Voiselle
ce50aac560
Proposing new tfvars with additional inline docs
2019-05-24 12:30:06 -04:00
Chris Baker
6328294c74
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
f1d7464818
terraform/packer: revert name of AMI to generic "hashistack" instead of my name
2019-04-11 14:11:32 +00:00
Chris Baker
2308a5839d
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
24eaa4b9f9
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
1d9c7b53f8
make root block device size configurable ( #5368 )
2019-02-28 11:35:57 -05:00
Nathan R Valentine
0ab23c30ab
change retry_join to a map for easier tag handling
2018-12-18 15:48:17 -08:00
Omar Khawaja
3ad663be60
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
dff70d274a
bump Vault, Consul, Nomad versions; update AWS AMI
2018-06-26 22:13:47 +00:00
Rob Genova
61908a0dea
bump Nomad to 0.8.1, Hadoop to 2.7.6
2018-04-18 22:33:58 +00:00
Rob Genova
500c397366
Update to Nomad 0.8, Consul 1.0.7 and Vault 0.10
2018-04-15 23:00:55 +00:00
Rob Genova
eab238f076
New AMI based on bumped dependency versions
2018-04-12 16:53:09 +00:00
Rob Genova
d3686371c4
Add variable to enable unique naming of infra components
2018-03-31 18:01:21 +00:00
Rob Genova
a6d620dcab
Bump Hadoop version in run-time config scripts; update AMI
2018-03-20 19:55:09 +00:00
Rob Genova
606e7a6d54
Support dynamic replacement of the Nomad binary at run-time
2018-03-20 17:46:32 +00:00
Josh Soref
f5aa8bf298
spelling: usually
2018-03-11 19:12:06 +00:00
Josh Soref
8aad572cb9
spelling: available
2018-03-11 17:42:56 +00:00
Rob Genova
7dea8c4d52
Update AWS scripts and README to reflect latest, pre-built AMI
2018-01-09 22:35:58 +00:00
Rob Genova
7b9118748b
restructure README files; add Azure README
2017-11-15 19:40:34 +00:00
Rob Genova
496565eb4e
update AWS Terraform configs for consistency
2017-11-15 19:38:50 +00:00
Rob Genova
042ee76e3a
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
f41fac333c
update AWS Terraform configs to support multi-cloud changes
2017-11-01 21:18:07 +00:00
Rob Genova
ab87f9506a
update AMI ID; remove unnecessary output
2017-08-08 00:41:17 +00:00
Rob Genova
44b6f25380
bind Nomad to all interfaces; enable Consul UI
2017-08-04 18:00:05 +00:00
Rob Genova
6a367d9f44
Update scripts and AMI to reflect Nomad 0.6
2017-07-26 22:34:34 +00:00
Rob Genova
e0de279f4c
update AMI
2017-07-07 22:31:22 -07:00
Rob Genova
49efcc0ec1
update AMI ID
2017-07-07 11:11:25 -07:00
Michael Schurter
9a677712a5
Fix super minor typos
2017-06-26 10:56:50 -07:00
Rob Genova
19c9e55d35
update AMI
2017-06-25 12:59:50 -07:00
Rob Genova
1ef9d0fb28
slight tweak to Packer README
2017-06-25 11:54:29 -07:00
Rob Genova
c53e6559b1
cleanup Vagrantfile, Terraform configs and Nomad job files
2017-06-25 11:10:14 -07:00
Rob Genova
07e43bcc19
reformat Packer README
2017-06-25 11:09:05 -07:00
Rob Genova
5fc33b82d9
obscure KEY_NAME
2017-06-24 16:51:26 -07:00
Rob Genova
d235e853e8
refactor Terraform module, Packer config; bump tool version #s in Vagrantfile
2017-06-24 16:24:24 -07:00
Rob Genova
65f40751d5
update READMEs
2017-06-15 15:49:02 -07:00
Rob Genova
0bd7473976
use appropriate AMI name
2017-06-15 15:48:18 -07:00
Rob Genova
b8019fd1b7
install latest versions of products
2017-06-15 15:47:46 -07:00
Rob Genova
f1de8e5b3d
Fix minor syntax issue
2017-06-15 15:46:53 -07:00
Rob Genova
5ac056dc5e
update READMEs
2017-05-15 21:40:20 -07:00