Closed surajssd closed 4 years ago
The solution for it is to use locals
to save value of local_file.bootstrap-secrets[0].content
and to use local
in value =
instead of local_file
reference.
This happens because if you remove assets directory, len(local_file.bootstrap-secrets)
will be 0 after Terraform refreshes the state.
Other person created a cluster and shared lokocfg file with me. When I run
lokoctl cluster apply -v
it fails with following error:The cluster is created with lokoctl version
v0.4.1
. And I can reproduce the error with 0.4.1 and current master.