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" { 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 zone_id = local.nix_community_org_zone_id
name = each.value name = each.value

View file

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

View file

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