hartmantis / nasty

Apache License 2.0
1 stars 0 forks source link

How can I automate getting Grafana credentials into the NixOS secrets #57

Open hartmantis opened 6 months ago

hartmantis commented 6 months ago

If Terraform is going to manage up to the stack level in Grafana Cloud, it can create the key I need to send metrics. But I still have to manually grab that key and stick it in the Agenix-encrypted secrets file.

hartmantis commented 6 months ago

TF has github_repository, github_repository_file, etc. resources. Does it have a way I can build a .age file to feed it for file contents?

hartmantis commented 6 months ago

TF also has an external data source. What all can I do with Bash in a Spacelift runner?