We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb1e11 commit 6acd0c5Copy full SHA for 6acd0c5
ec2/main.tf
@@ -64,7 +64,7 @@ locals {
64
bastion_sg_name = "${var.cluster_name}-bastion-sg"
65
66
unison_credentials_file = "~/.local/share/unisonlanguage/credentials.json"
67
- unison_credentials = jsondecode(fileexists(local.unison_credentials_file) ? file(local.unison_credentials_file) : "{\"default\": {\"api.unison-lang.org\": {\"tokens\": {\"access_token\": \"\"}}}}")
+ unison_credentials = jsondecode(fileexists(local.unison_credentials_file) ? file(local.unison_credentials_file) : "{\"credentials\":{\"default\": {\"api.unison-lang.org\": {\"tokens\": {\"access_token\": \"\"}}}}}")
68
unison_token = local.unison_credentials.credentials.default["api.unison-lang.org"].tokens.access_token
69
}
70
0 commit comments