mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 07:35:38 +00:00
remove comments from tf
This commit is contained in:
parent
4555797667
commit
5aa0a935ad
@ -30,15 +30,6 @@ terraform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# locals {
|
|
||||||
# image_file = one(fileset(path.root, "result/iso/nixos.iso"))
|
|
||||||
# }
|
|
||||||
|
|
||||||
# variable "cloudflare_r2_endpoint" {
|
|
||||||
# type = string
|
|
||||||
# description = "Domain for the Cloudflare R2 endpoint"
|
|
||||||
# }
|
|
||||||
|
|
||||||
variable "vultr_api_key" {
|
variable "vultr_api_key" {
|
||||||
type = string
|
type = string
|
||||||
description = "API key for Vultr management"
|
description = "API key for Vultr management"
|
||||||
@ -64,18 +55,6 @@ provider "vultr" {
|
|||||||
api_key = var.vultr_api_key
|
api_key = var.vultr_api_key
|
||||||
}
|
}
|
||||||
|
|
||||||
# data "aws_s3_bucket" "images" {
|
|
||||||
# bucket = "noahmasur-arrow-images"
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
# resource "aws_s3_object" "image" {
|
|
||||||
# bucket = data.aws_s3_bucket.images.id
|
|
||||||
# key = "arrow.iso"
|
|
||||||
# source = local.image_file
|
|
||||||
# etag = filemd5(local.image_file)
|
|
||||||
# acl = "public-read"
|
|
||||||
# }
|
|
||||||
|
|
||||||
resource "vultr_iso_private" "image" {
|
resource "vultr_iso_private" "image" {
|
||||||
# url = "https://${var.cloudflare_account_id}.r2.cloudflarestorage.com/${data.aws_s3_bucket.images.id}/${aws_s3_object.image.key}"
|
# url = "https://${var.cloudflare_account_id}.r2.cloudflarestorage.com/${data.aws_s3_bucket.images.id}/${aws_s3_object.image.key}"
|
||||||
url = "https://arrow-images.masu.rs/arrow.iso"
|
url = "https://arrow-images.masu.rs/arrow.iso"
|
||||||
|
Loading…
Reference in New Issue
Block a user