@cryptotaxi247 / infra / commits / 231db0f3

Run formatter, apply shellcheck shell hints

Martin Weinelt committed Dec 1, 2024 at 18:33 UTC 231db0f3fb363d1f51de48be569016f246c27801
6 files changed +12 -4
build/.envrc
+1
@@ -1 +1,2 @@
1 +# shellcheck shell=bash
2 use flake
channels.nix
+1 -1
@@ -3,7 +3,7 @@ rec {
3 # "Channel name" = {
4 # # This should be the <value> part of
5 # # https://hydra.nixos.org/job/<value>/latest-finished
6 - # job = "project/jobset/jobname";
6 + # job = "project/jobset/jobname";
7 #
8 # # When adding a new version, determine if it needs to be tagged as a
9 # # variant -- for example:
non-critical-infra/.envrc
+1
@@ -1 +1,2 @@
1 +# shellcheck shell=bash
2 use flake .#non-critical-infra
terraform-iam/.envrc
+1
@@ -1,3 +1,4 @@
1 +# shellcheck shell=bash
2 use flake .#terraform-iam
3
4 export AWS_CONFIG_FILE=$PWD/aws-config
terraform/.envrc
+1
@@ -1,3 +1,4 @@
1 +# shellcheck shell=bash
2 use flake .#terraform
3
4 export AWS_CONFIG_FILE=$PWD/aws-config
terraform/flake-module.nix
+7 -3
@@ -2,9 +2,13 @@ let
2 convert2Tofu =
3 provider:
4 provider.override (prev: {
5 - homepage = builtins.replaceStrings [ "registry.terraform.io/providers" ] [
6 - "registry.opentofu.org"
7 - ] prev.homepage;
5 + homepage =
6 + builtins.replaceStrings
7 + [ "registry.terraform.io/providers" ]
8 + [
9 + "registry.opentofu.org"
10 + ]
11 + prev.homepage;
12 });
13 in
14 {