terraform/*: format

This commit is contained in:
zowoq 2022-11-16 08:31:16 +10:00
parent 00385fa58e
commit 68b4cf8e31
3 changed files with 8 additions and 8 deletions

View file

@ -118,7 +118,7 @@ locals {
}
resource "cloudflare_record" "nix-community-org-github-pages" {
for_each = {for page in local.github_pages: page => page}
for_each = { for page in local.github_pages : page => page }
zone_id = local.nix_community_org_zone_id
name = each.value

View file

@ -37,8 +37,8 @@ resource "hydra_project" "emacs_overlay" {
visible = true
declarative {
file = "hydra/spec.json"
type = "git"
file = "hydra/spec.json"
type = "git"
value = "https://github.com/nix-community/emacs-overlay"
}
}
@ -53,8 +53,8 @@ resource "hydra_project" "simple_nixos_mailserver" {
visible = true
declarative {
file = ".hydra/spec.json"
type = "git"
file = ".hydra/spec.json"
type = "git"
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver"
}
}

View file

@ -6,10 +6,10 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
source = "cloudflare/cloudflare"
}
hydra = {
source = "DeterminateSystems/hydra"
source = "DeterminateSystems/hydra"
}
}
}
@ -19,6 +19,6 @@ provider "cloudflare" {
}
provider "hydra" {
host = "https://hydra.nix-community.org"
host = "https://hydra.nix-community.org"
username = "admin"
}