Skip to content

Commit d3d9cd8

Browse files
committed
override secrets path for stackhpc terraform
1 parent 93ab6a3 commit d3d9cd8

File tree

1 file changed

+3
-1
lines changed
  • environments/.stackhpc/terraform

1 file changed

+3
-1
lines changed

environments/.stackhpc/terraform/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ module "cluster" {
7373
key_pair = "slurm-app-ci"
7474
cluster_image_id = data.openstack_images_image_v2.cluster.id
7575
control_node_flavor = var.control_node_flavor
76-
k3s_token = var.k3s_token
76+
# need to override defaults as using terraform/ as a module but secrets templated
77+
# out to *this* environment
78+
inventory_secrets_path = "${path.module}/../inventory/group_vars/all/secrets.yml"
7779

7880
login_nodes = {
7981
login-0: var.other_node_flavor

0 commit comments

Comments
 (0)