File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ locals {
6464 bastion_sg_name = " ${ var . cluster_name } -bastion-sg"
6565
6666 unison_credentials_file = " ~/.local/share/unisonlanguage/credentials.json"
67- unison_credentials = jsondecode (fileexists (local. unison_credentials_file ) ? file (local. unison_credentials_file ) : file ( " /dev/null " ) )
67+ unison_credentials = jsondecode (fileexists (local. unison_credentials_file ) ? file (local. unison_credentials_file ) : " {} " )
6868 unison_token = local. unison_credentials . credentials . default [" api.unison-lang.org" ]. tokens . access_token
6969}
7070
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ locals {
3434 dynamodb_table_name = " ${ var . cluster_name } -state"
3535
3636 unison_credentials_file = " ~/.local/share/unisonlanguage/credentials.json"
37- unison_credentials = jsondecode (fileexists (local. unison_credentials_file ) ? file (local. unison_credentials_file ) : file ( " /dev/null " ) )
37+ unison_credentials = jsondecode (fileexists (local. unison_credentials_file ) ? file (local. unison_credentials_file ) : " {} " )
3838 unison_token = local. unison_credentials . credentials . default [" api.unison-lang.org" ]. tokens . access_token
3939}
4040
You can’t perform that action at this time.
0 commit comments