aws-samples / aws-samples/sample-devops-agent-ecs-workshop
Retail Store UI - not working after Terraform deployment
- Vorherrschende Sprache
- Shell
- Sterne
- 6
- Forks
- 8
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Terraform-Konfiguration für den ALB und die Target Group ui-application zu lokalisieren, und überprüfe anschließend, wie das Modul terraform-aws-modules/alb Version 8.0 konfiguriert ist. Wende die gemeldete Änderung der Target-Group-Benennung an und führe das Deployment erneut durch. Als abgeschlossen gilt die Aufgabe, wenn Terraform den Listener für Port 80 mit der bestehenden Target Group erstellt und die Retail-UI-URL ohne manuelle Konfiguration funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, shell, terraform
- Bereich
- cloud, devops, infrastructure
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100