diff --git a/files.tf b/files.tf index 3457744..a2fbb4b 100644 --- a/files.tf +++ b/files.tf @@ -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", { diff --git a/templates/background-brief.txt b/templates/background-brief.txt new file mode 100644 index 0000000..cb49433 --- /dev/null +++ b/templates/background-brief.txt @@ -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. \ No newline at end of file diff --git a/templates/organization-profile.tftpl b/templates/organization-profile.tftpl new file mode 100644 index 0000000..3e634f8 --- /dev/null +++ b/templates/organization-profile.tftpl @@ -0,0 +1,3 @@ +# Workloads + +${background} \ No newline at end of file diff --git a/variables.tf b/variables.tf index b1e509a..bc6c2e6 100644 --- a/variables.tf +++ b/variables.tf @@ -980,4 +980,4 @@ locals { overwrite_on_create = true }, ]) -} +} \ No newline at end of file