SERVICE_DEPLOYMENT_FAILED
The service deployment has failed. This event is sent for services with deployment circuit breaker logic turned on.
find . -name foo.yml -exec bash -c "grep -q office {} && echo {} && grep office {}" \;
terraform workspace select old-name
terraform state pull >old-name.tfstate
terraform workspace new new-name
terraform state push old-name.tfstate
terraform show just to confirm that the newly-imported state looks "right", before we delete the old workspace
terraform workspace delete -force old-name
Pour prendre des décisions importantes
Server Side apply VS Client Side apply
via Edwin
Un Operator qui :
Du coup on peut créer des resources AWS avec kube (on peut se passer de terraform, on peut utiliser une CI/CD adaptée à déployer dans Kube)
virtualenv venv
. venv/bin/activate
pip install --editable .
Navigate through your search history (/) or command history (:) without leaving your home row?
q:
q/
Think "query search" and "query command"
asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.
brew install pinentry-mac
If not existing already create the file ~/.gnupg/gpg-agent.conf and add the following line:
pinentry-program /usr/local/bin/pinentry-mac
gpgconf --kill gpg-agent
"Create Amazon MemoryDB Cluster Instances#
You can create Amazon MemoryDB Clusters using the Cluster custom resource"
They really name their CRD "Cluster" ?? :facepalm:
Don't Repeat Yourself (DRY) : https://fr.wikipedia.org/wiki/Ne_vous_r%C3%A9p%C3%A9tez_pas
Keep It Simple, Stupid (KISS) : https://fr.wikipedia.org/wiki/Principe_KISS
You aren't gonna need it (YAGNI) : https://fr.wikipedia.org/wiki/YAGNI
Boy Scout Rule : https://97-things-every-x-should-know.gitbooks.io/97-things-every-programmer-should-know/content/en/thing_08/
Single Responsibility Principle (SRP) : https://en.wikipedia.org/wiki/Single-responsibility_principle
Dependency inversion principle (DIP) : https://en.wikipedia.org/wiki/Dependency_inversion_principle
4 règles du design simple : https://martinfowler.com/bliki/BeckDesignRules.html
Query Command Separation : https://martinfowler.com/bliki/CommandQuerySeparation.html
Design Pattern : https://refactoring.guru/design-patterns
Clean/Hexagonal/Onion architecture : https://blog.octo.com/application-domain-infrastructure-des-mots-de-la-layered-hexagonal-clean-architecture/