feat: first version

This commit is contained in:
VC
2025-10-22 15:58:46 +02:00
parent 2a74b6cf6c
commit 5ed688ff16
14 changed files with 214 additions and 2 deletions

6
modules/keys/main.tf Normal file
View File

@@ -0,0 +1,6 @@
resource "garage_key" "key" {
name = var.name
permissions = {
create_bucket = false
}
}

3
modules/keys/outputs.tf Normal file
View File

@@ -0,0 +1,3 @@
output "access_key_id" {
value = garage_key.key.access_key_id
}

View File

@@ -0,0 +1,8 @@
terraform {
required_providers {
garage = {
source = "ceski23/garage2"
version = "0.1.1"
}
}
}

View File

@@ -0,0 +1,4 @@
variable "name" {
description = "Name of the key to add"
type = string
}