Begin attempting to bring up opentofu for openstack setup
This commit is contained in:
parent
47dbb7cdd3
commit
8e31f30762
6 changed files with 14 additions and 3 deletions
|
@ -1 +0,0 @@
|
||||||
flake-profile-4-link
|
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/k5vgwymjcra0rv45n3vza2myawy6w48z-nix-shell-env
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
.direnv/
|
||||||
result/
|
result/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.terraform-cache/*/*/config.tf.json
|
.terraform-cache/*/*/config.tf.json
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
opentofu = pkgs.opentofu;
|
opentofu = pkgs.khscodes.opentofu;
|
||||||
# TODO: We should figure out a way of passing the secrets map at runtime instead of build time.
|
# TODO: We should figure out a way of passing the secrets map at runtime instead of build time.
|
||||||
# for now this map just needs to include every secret we could need, which also makes the reading of secrets take way longer than
|
# for now this map just needs to include every secret we could need, which also makes the reading of secrets take way longer than
|
||||||
# needed.
|
# needed.
|
||||||
|
|
1
nix/packages/opentofu/default.nix
Normal file
1
nix/packages/opentofu/default.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ pkgs }: pkgs.opentofu.withPlugins (p: [ pkgs.khscodes.terraform-provider-unifi ])
|
11
nix/packages/terraform-provider-unifi/default.nix
Normal file
11
nix/packages/terraform-provider-unifi/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs }:
|
||||||
|
pkgs.terraform-providers.mkProvider {
|
||||||
|
hash = "sha256-ms0yu0AjGCu9pXetLhUKfPMSMpNC8K/PuZ809UCqClY=";
|
||||||
|
homepage = "https://registry.terraform.io/providers/paultyng/unifi";
|
||||||
|
owner = "paultyng";
|
||||||
|
repo = "terraform-provider-unifi";
|
||||||
|
rev = "ff9c041b3dc4dc6cf6db4c824a43ed6d3ae408d1";
|
||||||
|
version = "v0.42.0-prerelease";
|
||||||
|
spdx = "MPL-2.0";
|
||||||
|
vendorHash = null;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue