Skip to content

Commit 720cb5f

Browse files
classabbyampthe-maldridge
authored andcommitted
terraform/**: terraform fmt
1 parent 3fab8e7 commit 720cb5f

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

terraform/hashistack/policy_buildbot.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
resource "nomad_acl_policy" "buildbot_worker_admin" {
2-
name = "buildbot-worker-admin"
2+
name = "buildbot-worker-admin"
33
description = "Manage buildbot worker secrets in nomad variables"
44

55
job_acl {
66
namespace = "build"
7-
job_id = "buildbot"
7+
job_id = "buildbot"
88
}
99

1010
rules_hcl = <<EOT

terraform/hashistack/policy_buildsync.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
resource "nomad_acl_policy" "buildsync_admin" {
2-
name = "buildsync-admin"
2+
name = "buildsync-admin"
33
description = "Manage buildsync secrets in nomad variables"
44

55
job_acl {
66
namespace = "build"
7-
job_id = "build-rsyncd"
7+
job_id = "build-rsyncd"
88
}
99

1010
rules_hcl = <<EOT
@@ -19,12 +19,12 @@ EOT
1919
}
2020

2121
resource "nomad_acl_policy" "buildsync_buildbot_admin" {
22-
name = "buildsync-buildbot-admin"
22+
name = "buildsync-buildbot-admin"
2323
description = "Manage buildsync secrets in nomad variables for buildbot"
2424

2525
job_acl {
2626
namespace = "build"
27-
job_id = "buildbot-worker"
27+
job_id = "buildbot-worker"
2828
}
2929

3030
rules_hcl = <<EOT

terraform/hashistack/policy_certs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
resource "nomad_acl_policy" "certs_admin" {
2-
name = "certs-admin"
2+
name = "certs-admin"
33
description = "Manage certificates in nomad variables"
44

55
job_acl {
66
namespace = "infrastructure"
7-
job_id = "cert-renew"
7+
job_id = "cert-renew"
88
}
99

1010
rules_hcl = <<EOT

terraform/hashistack/policy_popcorn.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
resource "nomad_acl_policy" "popcorn_admin" {
2-
name = "popcorn-admin"
2+
name = "popcorn-admin"
33
description = "Manage popcorn keys in nomad variables"
44

55
job_acl {
66
namespace = "apps"
7-
job_id = "popcorn-report"
7+
job_id = "popcorn-report"
88
}
99

1010
rules_hcl = <<EOT

terraform/le/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
version = "2.41.0"
66
}
77
nomad = {
8-
source = "hashicorp/nomad"
8+
source = "hashicorp/nomad"
99
version = "2.5.2"
1010
}
1111
}

terraform/le/variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
resource "nomad_variable" "certs" {
22
for_each = {
3-
"nomad/jobs/nginx" = "mirror"
3+
"nomad/jobs/nginx" = "mirror"
44
"nomad/jobs/nginx-control" = "infrastructure"
5-
"nomad/jobs/maddy" = "apps-restricted"
5+
"nomad/jobs/maddy" = "apps-restricted"
66
}
77

88
namespace = each.value
9-
path = each.key
9+
path = each.key
1010

1111
items = {
1212
certificate = "${acme_certificate.voidlinux_org.certificate_pem}${acme_certificate.voidlinux_org.issuer_pem}"
13-
key = acme_certificate.voidlinux_org.private_key_pem
13+
key = acme_certificate.voidlinux_org.private_key_pem
1414
}
1515
}

0 commit comments

Comments
 (0)