🔧 move tofu configs

This commit is contained in:
James Walker 2024-09-26 15:30:46 -04:00
parent 398b1e7470
commit 5c489491ad
Signed by: walkah
SSH Key Fingerprint: SHA256:f7Gn4jO4BFHZxWfKTTzEAfWz+cLW51IyGFl9MjDyZGI
7 changed files with 67 additions and 63 deletions

49
.terraform.lock.hcl generated Normal file
View File

@ -0,0 +1,49 @@
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.opentofu.org/digitalocean/digitalocean" {
version = "2.42.0"
constraints = "~> 2.0"
hashes = [
"h1:rDnEHw9yf7NjauDAcFl/8y74sEdgdNIJjaJoQebYbbw=",
"zh:0f223dbe5385d57d09fb28cf03e6d7c6aba2ec0e3fe36ec7277036780bac15fe",
"zh:209506531e478e73fb58afe4252edcfe47f4cf070fb5eb4a932e5a4b056dda3e",
"zh:2e2c80d3683f74c49e9a0003b17687c97315be5e6aaf4653d47e82a38444c48d",
"zh:47eb8bdb25a7ed1083912c3a28fe9a99ce28bb10778b6b55e041dccd3d4e060a",
"zh:51e16b659d08b9fd15874c3c37538acfa8cbb4bfd3df764225cfda80bb1bb627",
"zh:555ad2e67deaecce3ec391e7e9e3a2863ec2883e52d5dec1a3ad4372c503f683",
"zh:91c98f4bf25eb04d4b2f26bf5324f90e54fde23cf3ac8e12677ec2e33fc0792c",
"zh:91eb29db6d11f5d4d60399dc2fcc91bcc23650cb5bdc40b6ca2b500acb5ba930",
"zh:969948dc93376535dde32288fa52150dcfdfc898c41929504f5f2d040a27427d",
"zh:9c0fe37850204ec93391e0b609e68b6a2fb06d0a4587550b866ff703e15637ed",
"zh:a33102d7bbe29894c75c3ba44d0952c975e278ba81c492bb956e1ee05be17c2f",
"zh:aae1061f9d62fc943bbe5abd7e0c91bee4e444c7113e24ac2d0706e0a4faee31",
"zh:b239c7d1848b36a2b055a527966a3aec180284346cbf2e9e2d7ed9e82e49b09e",
"zh:b64b9b31d034d9bc9b024ee874405e5ce23d751f539f7963ac05787066eb56ee",
"zh:b7a01f8914d574b6732ae11d48fc841207657647fa1b7f4c55854763e31a0f1f",
"zh:d2f2f4a93fbad988d11a1af05c31663b9b340ab5f4c427ecf2d04f2915e6524f",
]
}
provider "registry.opentofu.org/hashicorp/digitalocean" {
version = "2.42.0"
hashes = [
"h1:rDnEHw9yf7NjauDAcFl/8y74sEdgdNIJjaJoQebYbbw=",
"zh:0f223dbe5385d57d09fb28cf03e6d7c6aba2ec0e3fe36ec7277036780bac15fe",
"zh:209506531e478e73fb58afe4252edcfe47f4cf070fb5eb4a932e5a4b056dda3e",
"zh:2e2c80d3683f74c49e9a0003b17687c97315be5e6aaf4653d47e82a38444c48d",
"zh:47eb8bdb25a7ed1083912c3a28fe9a99ce28bb10778b6b55e041dccd3d4e060a",
"zh:51e16b659d08b9fd15874c3c37538acfa8cbb4bfd3df764225cfda80bb1bb627",
"zh:555ad2e67deaecce3ec391e7e9e3a2863ec2883e52d5dec1a3ad4372c503f683",
"zh:91c98f4bf25eb04d4b2f26bf5324f90e54fde23cf3ac8e12677ec2e33fc0792c",
"zh:91eb29db6d11f5d4d60399dc2fcc91bcc23650cb5bdc40b6ca2b500acb5ba930",
"zh:969948dc93376535dde32288fa52150dcfdfc898c41929504f5f2d040a27427d",
"zh:9c0fe37850204ec93391e0b609e68b6a2fb06d0a4587550b866ff703e15637ed",
"zh:a33102d7bbe29894c75c3ba44d0952c975e278ba81c492bb956e1ee05be17c2f",
"zh:aae1061f9d62fc943bbe5abd7e0c91bee4e444c7113e24ac2d0706e0a4faee31",
"zh:b239c7d1848b36a2b055a527966a3aec180284346cbf2e9e2d7ed9e82e49b09e",
"zh:b64b9b31d034d9bc9b024ee874405e5ce23d751f539f7963ac05787066eb56ee",
"zh:b7a01f8914d574b6732ae11d48fc841207657647fa1b7f4c55854763e31a0f1f",
"zh:d2f2f4a93fbad988d11a1af05c31663b9b340ab5f4c427ecf2d04f2915e6524f",
]
}

18
flake.lock generated
View File

@ -137,11 +137,11 @@
]
},
"locked": {
"lastModified": 1727246346,
"narHash": "sha256-TcUaKtya339Asu+g6KTJ8h7KiKcKXKp2V+At+7tksyY=",
"lastModified": 1727370457,
"narHash": "sha256-YlTm2rgsf+UxxNnUCE/B/8bL9A3HOfPZD8l8EjlWm/Y=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1e22ef1518fb175d762006f9cae7f6312b8caedb",
"rev": "57e6b30d181ae6baff0909a61544ecbe1f642936",
"type": "github"
},
"original": {
@ -207,11 +207,11 @@
]
},
"locked": {
"lastModified": 1727053438,
"narHash": "sha256-t/+z1Tf7hSaStU1pBYkY7i0/GkG+YIPSmfeRrK8eYUw=",
"lastModified": 1727312535,
"narHash": "sha256-exnTgS6OBYvEa8v5x8UsLQK2ERdDFwXNFQHoT2cqycY=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "e8c1cd886cc17e31e424f915efd32e84d8af0ce9",
"rev": "f31447cd3f8e54674bd1675969e97e6043a309bc",
"type": "github"
},
"original": {
@ -222,11 +222,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1727140925,
"narHash": "sha256-ZHSasdLwEEjSOD/WTW1o7dr3/EjuYsdwYB4NSgICZ2I=",
"lastModified": 1727296349,
"narHash": "sha256-C3SRU3GMDNII9l16o4+nkybuxaDX4x5TBypwmmUBCo0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "189e5f171b163feb7791a9118afa778d9a1db81f",
"rev": "fe866c653c24adf1520628236d4e70bbb2fdd949",
"type": "github"
},
"original": {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.3.0"
required_version = ">= 1.8.0"
required_providers {
digitalocean = {
@ -10,7 +10,8 @@ terraform {
}
variable "do_token" {}
provider "digitalocean" {
token = var.do_token
module "digitalocean" {
source = "./terraform/digitalocean"
do_token = var.do_token
}

View File

@ -1,50 +0,0 @@
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.opentofu.org/digitalocean/digitalocean" {
version = "2.30.0"
constraints = "~> 2.0"
hashes = [
"h1:2IS8Ng87PDjkNzTfIF6RzyHQywNOBO8iYwDOiAxk8IM=",
"zh:0a6f0d7ac89c6f1835df9f8dc4464eb42893449a4d4f3a9e832472a3e4184c03",
"zh:299b78108f01f3ddcc35424ed20b79a810610612e3ee13958d7cd45a16d53628",
"zh:2dfcc11c79f058f76aa0545f842dede804cdc1cd40f48c3573312b7f93882923",
"zh:33271b4d8c75cef65b7f3d2bc3afbaa412849cea49593715806b25a9ffc8d03e",
"zh:448de7e2d46c4619cb98921c70b6a35a91256329457d27023a813c01635dfe65",
"zh:53bc104ae2bacbcaa5b0a4ce2caf06c1ac942c6114f2b5a12869d020c7580cc6",
"zh:54ee5aafe43b12b87901036d13fc399f511d4f5f6fef784a07a695bdeed300f1",
"zh:563ac07ff6d3379d23749e930007179a63e3b13317b214db5b8faf43fef21aea",
"zh:8f6a53f53b880f20e1f3953727c91888bf06aad5ba28dba9a69621b042cf2eb0",
"zh:9089f77da041e64e112e3efe2c013d7cb032362544724a672579919471a78571",
"zh:951fa4e16d05bb3e717a1f3ac0b91487eb554088fc0f96e188586e729a925d3b",
"zh:a287a3fc416a3e8b4794ed89bd24978b5d53ae110091ab7986c609a9e048c847",
"zh:b09ee82f32c819c477117b7692888e7d4b5a403316c3bab3bd55bae1133438b1",
"zh:c00fccb3699abc6277eb7750b0b85d8cd1f0a0f84c41d388e90ef039a830a5ca",
"zh:ce95cfc5e67276f8ded53cf8a5872720f17d1b0a1cbdef844a773d302524adef",
"zh:deb5add87e3040d18bfc111ec82cf61c3ebc1ebea1d594562952058ae061970c",
]
}
provider "registry.terraform.io/digitalocean/digitalocean" {
version = "2.29.0"
constraints = "~> 2.0"
hashes = [
"h1:mJrr4YaOsB7bWfCSJZneiXB6JMnVNnFxYRmQ8vKaOSQ=",
"zh:0af0a1a2de818c5dc8ee7ad4dc4731452848e84cfa0c1ce514af1c7aad15c53c",
"zh:27229f3162b4142be48554f56227265982f3b74e4c79fa5d2528c8a3912d1e19",
"zh:31d6e73bfe12231fa0ab3bbeef0e4aa9822a2008ae2a1a8b22557bdada4af7a3",
"zh:6e7417413e96b87a11d47e9acbc88e6d707a6ab23a7de6b584fc600d9d3cbf00",
"zh:9faf40798a698b80e8d56e502c220856d2d5f55d5137b9cf5371f2fdaeadd70a",
"zh:b9ab9caf21b3f928fdd891e749fd8d33f6d441b39a08d725edf58cf8027a9b7b",
"zh:be32b3a35474f8acbab4d0ad8676810fa05a87918cc1874b53672159005016c0",
"zh:c2e8f7c08cad44b46e2e5580183e1ef2a4f1803347de136d1a35f333973a25f0",
"zh:cf0aba5b5042c762da489050716815652f809f3ef0ededb0f981f11691dbef03",
"zh:d1c0874c0ae0aa1eae86dbd131978796303599709c35b5dee926887d375f4cc8",
"zh:d4eecb61e763950a5a0f40cddc7a58345419a522b783aae7b0703309a354bb0c",
"zh:d866df86dd78eb2a9e54ebff637301522766710bb6dc7f8e330f1146822b62ee",
"zh:da51541ef96d0a5745740dc623bff3ccfb6b098b548d78cf5e9d95a15c69963a",
"zh:ede343be1528b468feae3a1cbf781e223f63ce33446a008a42f2fb799a23b436",
"zh:f20a60e2cecd29bbcc73d59e95aca368e2c55b7648f1923df2c0f7578026b048",
"zh:fccaf963f2db1e271e9d28276172910ca6b95471b8e0dfac758daf0495ce17f5",
]
}

View File

View File

@ -0,0 +1,4 @@
variable "do_token" {}
provider "digitalocean" {
token = var.do_token
}