Skip to content

Commit

Permalink
added missing parts
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-ribchev committed Nov 10, 2023
1 parent b785a68 commit efaca78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions modules/vm/templates/entrypoint.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ done
# Login in Azure CLI with managed identity (user or system assigned)
az login --identity

# Get the license
az keyvault secret download --vault-name ${key_vault_name} --name graphdb-license --file /etc/graphdb/graphdb.license --encoding base64

# TODO: Find/create/mount volumes
# https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-use-disks-cli
# Find/create/attach volumes
Expand Down Expand Up @@ -118,6 +121,9 @@ node_dns=$(hostname)
# GraphDB configuration overrides
#

# Get the license
az keyvault secret download --vault-name ${key_vault_name} --name graphdb-license --file /etc/graphdb/graphdb.license --encoding base64

# TODO: Should come from app config or be randomly generated
graphdb_cluster_token="xxxxxxxxxxxx"

Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ variable "tags" {
variable "lock_resources" {
description = "Enables a delete lock on the resource group to prevent accidental deletions."
type = bool
default = false
default = true
}

# Networking
Expand Down

0 comments on commit efaca78

Please sign in to comment.