hashicorp / hashicorp/tfc-workflows-github

get outputs for use in github actions

Aperta
#7 7 commenti 8 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
HCL
Stelle
178
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi! Thank you very much for creating these actions. They've made it a lot easier for me to build out the continuous deployment workflow I want.

One feature request that I have is the ability to get the Terraform outputs to be used in my Github Actions. For instance, after Terraform Apply Run I want to be able to push my Docker image to the AWS ECR repo that I created with Terraform. This requires me to have the repository URL and the AWS IAM role that Github should assume to be able to get the repository login credentials.

For now I've created [a get-terraform-outputs action](https://github.com/marketplace/actions/get-terraform-outputs) to handle this for me, but it would be really nice if this was included in the official workflows.

Or if there's some reason why I shouldn't do this, I would love to know that as well.

Thanks!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the official workflows and the linked get-terraform-outputs action to understand how Terraform outputs could be exposed to later GitHub Actions steps. Done means a documented workflow can use outputs from a Terraform apply in subsequent steps, such as publishing to AWS ECR.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, github-actions, terraform
Ambito
ci-cd, cloud, devops
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.