aws-samples / aws-samples/sample-devops-agent-ecs-workshop

Retail Store UI - not working after Terraform deployment

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

Descrizione

Hello,
Terraform deployment completed successfully but the Retail UI didn't work.
Checking the ALB I found that there wasn't a Listener configured.
After manually configured the Listener (port 80) adding the existing Target Group (ui-application) the URL worked.
-
I asked Kiro what was the problem and this is the answer (that act
`The issue is that in the terraform-aws-modules/alb version 8.0, when using target_groups as a list, you should use name_prefix instead of name to avoid naming conflicts. The name parameter with a fixed value can cause issues with the module's internal resource creation. Try running terraform apply now.`
Cheers.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia individuando la configurazione Terraform per l'ALB e il target group ui-application, quindi esamina come è configurato il modulo terraform-aws-modules/alb versione 8.0. Applica la modifica segnalata alla denominazione del target group ed esegui nuovamente il deployment. L'attività è completata quando Terraform crea il listener sulla porta 80 con il target group esistente e l'URL della Retail UI funziona senza configurazione manuale.

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

Valutazione

Stack tecnologico
aws, shell, terraform
Ambito
cloud, devops, infrastructure
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
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.