Matching service errors to CloudFormation error types?
@ericzbeard ci sta già lavorando.
Dal 13/10/2022.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
There exists a complete mapping from all errors generated by AWS services to the types of errors that can be raised by a resource handler (defined here), though this mapping is currently implicit. There will always be users who want to create their own resources around AWS services, either because of incomplete coverage or for custom behavior. These users need to deduce the elements of this mapping themselves and then implement a matching algorithm in code, as shown in this example.
Two questions:
- Could the library make this easier, by providing a way for users to declaratively define the mapping and a convenience method to filter boto exceptions and raise matched CloudFormation exceptions?
- I think the mapping doesn't depend really ever depend on the user (not totally sure on this part), so once someone has figured it out for one service, that would be useful to all users. Could this mapping therefore be part of the library itself, and contributed to by users over time?
- Lingua principale
- Python
- Stelle
- 107
- Fork
- 46
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
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 aws-cloudformation/cloudformation-cli-python-plugin
-
Support UV Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Repo alive? Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
aws-cloudformation/cloudformation-cli-python-plugin#270 · 1 commento · 1 reazione ·
-
Improve docstrings for Hooks Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws-cloudformation/cloudformation-cli-python-plugin#268 · 1 commento · 2 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws-cloudformation/cloudformation-cli-python-plugin#264 · 1 commento ·
Tutte le issue di aws-cloudformation/cloudformation-cli-python-plugin
Issue simili
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Apertaarea: ci bug perceived difficulty: 3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/clickhouse-connect#1057 ·