Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions files.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
resource "github_repository_file" "organization_profile" {
repository = module.special_repositories[".github"].github_repository.name
file = "/profile/README.md"
branch = "main"
content = templatefile(
"./templates/organization-profile.tftpl", {
background = file("./templates/background-brief.txt")
}
)
overwrite_on_create = true
}

locals {
# see https://developer.hashicorp.com/terraform/language/functions/templatefile
tooling_make_configs_github = templatefile("templates/scripts/config_github.tftpl.mk", {
Expand Down
5 changes: 5 additions & 0 deletions templates/background-brief.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The purpose behind Workloads is threefold.

1. Provide an opinionated, best-practices oriented workflow for deploying a job orchestration platform to popular Cloud Service Providers (CSPs).
2. Provide Terraform blueprints that anyone can consume in an "off the shelf" fashion, without an "all or nothing" mindset.
3. Provide a way to easily test the limits of deploying HashiCorp Nomad everywhere as edge compute resources.
3 changes: 3 additions & 0 deletions templates/organization-profile.tftpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Workloads

${background}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -980,4 +980,4 @@ locals {
overwrite_on_create = true
},
])
}
}