hashicorp / hashicorp/tfc-workflows-github

feature: few thoughts for other functionalities

Offen
#5 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HCL
Sterne
178
Forks
30
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Glad there is an official release for Terraform GitHub action, we've been doing this thing internally and it is a pain to create the wheel...

Few thoughts based on my use case,

1. Is it possible to support terraform enterprise? maybe just by allowing customers to provide the `host`? I believe the URL (`path` section) schema for TFC and TFE should be the same, it is just the `host` is different.
2. Is it possible to make `directory` optional? Terraform workspace should be able to know where the working directory is. This will also be very helpful when multiple workspaces (source code in different repos) need to be triggered in a certain order and monitor the progress from a central place. e.g. repo1 is the metadata for the infra, and few other repos are the consumer of the 1st repo, which need to be run (without code change) when there is an update of the 1st repo.
3. This might be too much, but return a list of workspaces based on tags/keyword/commit sha can be interesting. e.g. trigger a run for all workspaces with `production` tag or `project1` in name.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die drei Vorschläge zu trennen: konfigurierbare Host-Unterstützung für Terraform Enterprise, optionale Verzeichnisbehandlung und Workspace-Auswahl nach Tags, Namen oder Commit-SHA. Lies den bestehenden Terraform-GitHub-Action-Workflow und die Einstiegspunkte für die Konfiguration und definiere dann vor der Implementierung Akzeptanzkriterien für jeden Vorschlag; abgeschlossen ist die Aufgabe, wenn ein abgestimmter Umfang und Tests für das ausgewählte Verhalten vorhanden sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, terraform
Bereich
cloud, devops, infrastructure
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.