feat: first version
This commit is contained in:
27
providers.tf
Normal file
27
providers.tf
Normal file
@@ -0,0 +1,27 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
garage = {
|
||||
source = "ceski23/garage2"
|
||||
version = "0.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "opentofu"
|
||||
region = "garage"
|
||||
key = "garage/terraform.tfstate"
|
||||
endpoints = {
|
||||
s3 = "https://garage.mateu.be"
|
||||
}
|
||||
use_path_style = true
|
||||
skip_credentials_validation = true
|
||||
skip_region_validation = true
|
||||
skip_requesting_account_id = true
|
||||
skip_metadata_api_check = true
|
||||
}
|
||||
}
|
||||
|
||||
provider "garage" {
|
||||
host = var.url
|
||||
scheme = var.scheme
|
||||
}
|
||||
Reference in New Issue
Block a user