Fix hardcoded security group ID and suggested improvement for SSL mode handling for RDS
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- aws, postgresql, shell
- Ambito
- cloud, databases, documentation
Direzione di ricerca
Individua la definizione di SECURITY_GROUP_ID nello script di migrazione e la documentazione che descrive il flag --tls. Traccia il modo in cui la creazione dell’istanza di replica riceve il security group, quindi esamina le indicazioni SSL di RDS. Il lavoro è completato quando lo script non dipende più dall’ID specifico dell’account dell’autore, gli utenti possono fornirne uno se necessario e la documentazione spiega correttamente TLS per RDS.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue
While running the migration script, I encountered the following error:
An error occurred (InvalidParameterValueException) when calling the CreateReplicationInstance operation: The provided security group identifier or name is invalid. Please verify and provide a valid security group identifier or name.
After some investigation, I found that the script includes a hardcoded SECURITY_GROUP_ID, which is specific to the original author’s AWS environment. This ID will not exist in other users’ accounts and causes the script to fail unless updated manually.
Suggested fix
- Remove the hardcoded
SECURITY_GROUP_ID, or - Allow users to optionally pass in their own security group ID.
- In my testing, omitting the security group entirely worked fine.
Thanks for your work on this project!
P.S. in the docs, you note that users migrating from Neon must use the --tls flag. This is likely true for all RDS users as well. Alternatively, they could set the parameter rds.force_ssl to 0.
- Lingua principale
- Shell
- Stelle
- 32
- Fork
- 9
- Merge medio
- 3g 3h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di planetscale/migration-scripts
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
planetscale/migration-scripts#26 · 1 commento ·
Tutte le issue di planetscale/migration-scripts
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
technical-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
ll7/robot_sf_ll7#9560 ·
-
Update ghgrab to 2.1.0 Apertapackage-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100