152 Commits

Author SHA1 Message Date
Aimee Ukasick
a30cb2f137 Update UI, code comment, and README links to docs, tutorials (#26429)
* Update UI, code comment, and README links to docs, tutorials

* fix typo in ephemeral disks learn more link url

* feedback on typo

Co-authored-by: Tim Gross <tgross@hashicorp.com>

---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2025-08-06 09:40:23 -05:00
Tim Gross
22bfcdecf1 docs: add missing copyright headers in Terraform examples (#20412) 2024-04-16 15:21:03 -04:00
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
Kerim Satirli
5e1bbf90fc docs: update all URLs to developer.hashicorp.com (#16247) 2023-10-24 11:00:11 -04:00
hashicorp-copywrite[bot]
a9d61ea3fd Update copyright file headers to BUSL-1.1 2023-08-10 17:27:29 -05:00
Bruce Lok
7173d3bc25 Add missing consul grpc config (#17943) 2023-07-24 12:39:23 +01:00
Luiz Aoqui
354e4b2ef2 ci: run 'make check' as reusable workflow (#17600)
Some of the paths ignored by `test-core.yaml` need to be checked by
`make check`. The `checks.yaml` workflow run on these paths and can also
be used as a reusable workflow.
2023-06-20 08:17:13 +01:00
Dao Thanh Tung
e29ad68c58 terraform: fix syntax in Azure example due to deprecated tf resource arguments (#17497) 2023-06-19 11:26:14 +02:00
hashicorp-copywrite[bot]
f005448366 [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
James Rasell
0a9ef36ab7 terraform: update installed versions of HashiCorp tools. (#13635) 2022-07-07 16:12:19 +02: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
Jason Paul Deland
f42c94dadd demo/terraform: fix nvidia drivers installation 2022-05-31 20:17:55 -04:00
Seth Hoenig
04ceba2bfb build: update golang version to 1.18.2
This PR update to Go 1.18.2. Also update the versions of hclfmt
and go-hclogfmt which includes newer dependencies necessary for dealing
with go1.18.

The hcl v2 branch is now 'nomad-v2.9.1+tweaks2', to include a fix for
newer macOS versions: 8927e75e82
2022-05-25 10:04:04 -05:00
Ivo
607ce11582 [terraform/aws] Fix NVidia GPG key error (#12985)
* Fix NVidia GPG key error - NVidia rotated their repo keys, see https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212771
2022-05-16 06:49:01 -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
James Rasell
e5edffef68 terraform: update installed version used to 1.0.11. 2021-11-19 09:33:11 +01:00
Jamie Finnigan
2df000b5b9 Remove example associated with deprecated nomad-spark (#11441) 2021-11-03 16:44:26 -07: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
Tim Gross
03a1192c12 docs: swap master for main in Nomad repo 2021-03-08 14:26:31 -05:00
Seth Hoenig
2a35c35a6e dist: place systemd unit options correctly
This PR places StartLimitIntervalSec and StartLimitBurst in the
Unit section of systemd unit files, rather than the Service section.

https://www.freedesktop.org/software/systemd/man/systemd.unit.html

Fixes #10065
2021-02-22 19:23:00 -06: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
Michael Schurter
cf89177c6b docs: update scripts to 0.12.4 2020-09-09 15:22:37 -07:00
Lens0021
e0f038c8c7 Fix Vagrant link in README (#8839) 2020-09-08 08:45:46 -05:00
Gale Fagan
10fa09943c Updating versions and removing deprecated items (#8750)
* Removed deprecated Spark pieces.

* Bumped HashiCorp stack versions to current as of commit date

* Bumped versions of HashiCorp stack tools

* Bumped versions, added VAULT_ADDR in GCP, removed refs to Spark in shared README
2020-09-02 10:14:47 -07:00
Kent 'picat' Gruber
c533bb5a19 Cleanup the gcloud SDK CLI tools installation / authentication steps 2020-07-24 10:10:01 -04:00
Kent 'picat' Gruber
2f1ec45a0b Add missing period to account.json warning 2020-07-17 15:06:39 -04:00
Kent 'picat' Gruber
ec1b074cac Remove a potential for accidently running the SSH tunnels in server VM
If a user is just clicking / copy-pasting, they could accidently think they next gcloud commands should be run inside the server VM.

Removing that extra bit of information to make accessing the UIs as simple as possible. Moreover, the local commands on the cloud shell should just work without needing to SSH into the server VM.
2020-07-17 15:05:22 -04:00
Kent 'picat' Gruber
8e53650ebb Remove external load balancer configuration 2020-07-17 14:37:56 -04:00
Kent 'picat' Gruber
05a9631ed3 Use SSH tunnels instead of a public load balancer for accessing the cluster
It was tricky to get the web preview expierince to work smoothly on non-standard HTTP ports. But, I was able to figure out the link the web preview button uses under-the-hood, and add custom query string params.
2020-07-17 14:26:32 -04:00
Kent 'picat' Gruber
35375ea851 Add full links to the packer step 2020-07-17 08:55:37 -04:00
Kent 'picat' Gruber
6e7db88267 Ensure to use the "project ID" terminology instead of "project name"
Project IDs and project names are typically the same, but they are separate things. Now also matches to the wording in previous steps.
2020-07-17 08:55:07 -04:00
Kent 'picat' Gruber
46f4a1d60c Change billing account step wording 2020-07-17 08:53:52 -04:00
Kent 'picat' Gruber
ab564e26db Generate random project ID in tutorial command, change command order
Includes a link to the GCP docs for a project overview if the user is new to the platform.
2020-07-17 08:53:15 -04:00
Gale Fagan
a06d854fdd Update README.md
Fix spelling, sprinkle in assorted words
2020-07-16 19:49:31 -07:00
Gale Fagan
2432a15284 Update README.md
Minor syntax tweaks for better secrets posture.
2020-07-16 19:34:43 -07:00
Kent 'picat' Gruber
55909619af Remove TODO from open in cloud shell button 2020-07-16 16:38:54 -04:00
Kent 'picat' Gruber
d730d40950 Remove the temporary cloudshell_git_branch query string in button
Will now use the default git branch for the repository
2020-07-16 16:38:18 -04:00
Kent 'picat' Gruber
73ff7c5317 Add a final Conclusion section
Includes steps to destroy the demo infrastrucure.
2020-07-16 16:34:32 -04:00
Kent 'picat' Gruber
8be6390436 Use a full path link in the Next Steps section
This will make the link actually work when using the cloud shell.
2020-07-16 16:33:49 -04:00
Kent 'picat' Gruber
e442d7761e Adjust the CLI section
Cleans up the wording, and points to the Next Steps section for example commands to avoid redundancy.
2020-07-16 16:33:12 -04:00
Kent 'picat' Gruber
8d7c863d66 Add project and credentials CLI vars to Terraform commands
This will automatically pass along the environment variables set in a previous step, and prevent users from manually needed to type in the values in the CLI.
2020-07-16 16:32:28 -04:00
Kent 'picat' Gruber
72661c4473 Few minor adjustment to the Terraform steps 2020-07-16 16:24:16 -04:00
Kent 'picat' Gruber
0befcbc159 Remove last lingering console output placeholder
So the comand is easily copyable, and consistent with the rest. However, this is probably not totally necessary in the cloud shell itself since the gcloud command will likely been initialized already.
2020-07-16 16:23:52 -04:00
Kent 'picat' Gruber
112f630d6d Ensure all commands in terraform/gcp/README.md are easily copyable
Since this tutorial also links to a GCP cloud shell tutorial, we want to make sure all the command blocks are easily copyable to make that expierince smooth.
2020-07-16 16:17:17 -04:00
Kent 'picat' Gruber
6d9518002c Few minor adjustments to the terraform/gcp/README.md
* Adds the terraform deployment step.
* Renames the Packer-specific section.
2020-07-16 16:14:42 -04:00
Kent 'picat' Gruber
551f8ba3d6 Fixup open in cloud shell button query string options
* Fixes releative path to README.md tutorial, so it hopefully opens now.
* Enables only the shell now when opening the tutorial.
2020-07-16 16:10:22 -04:00
Kent 'picat' Gruber
4e6b9dd0d8 Update terraform/README.md 2020-07-16 15:58:42 -04:00
Kent 'picat' Gruber
a4e1853868 Create terraform/gcp/README.md 2020-07-16 15:58:15 -04:00
Kent 'picat' Gruber
d77186b475 Create terraform/gcp/Makefile
To help make developing / testing this module much easier in the future.
2020-07-16 15:57:14 -04:00
Kent 'picat' Gruber
fa3d42fe32 Create terraform/gcp/env/us-east/main.tf 2020-07-16 15:56:09 -04:00