
Development


Aws ses – verify domain
go to route53 and you should see all your records there you will then get a email saying your domain has been verified. it took about 5 minutes.

sql files in /docker-entrypoint-initdb.d not executing, ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for ‘root’@’%’
https://stackoverflow.com/questions/45086162/docker-mysql-error-1396-hy000-operation-create-user-failed-for-root this answer is right but it applies differently to my situation. in my .env file when “docker_setup_db” function gets called, the container attempts to create a user with the name MYSQL_USER (root). Since root is the default user, the error above gets thrown, causing no files inside of /docker-entrypoint-initdb.d[…]

Gitpod – env vars on prebuilds and workspaces
https://www.gitpod.io/docs/prebuilds Project environment variables Environment variables which are defined in project settings will be visible in prebuilds. This is useful for prebuilds to access restricted services. WARNING Care should be taken with secrets in prebuilds. Do not save secrets in a way which could leak into workspaces. This especially true for[…]

Docker desktop – kubernetes wont restart
docker desktop will restart

Debugging Lambda, logs
If you want to see logs coming from calls not from a test

Creating a Macros
https://github.com/awslabs/aws-cloudformation-templates/tree/master/aws/services/CloudFormation/MacrosExamples/Count export AWS_PROFILE=<profile> Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state: For expression “Status” we matched expected path: “FAILED” Status: FAILED. Reason: Requires capabilities : [CAPABILITY_IAM] No transform named 225491667295::Count found. but the stack that was using the macros was in make sure that[…]

cant JSON.stringify error object, comes back as empty object
https://stackoverflow.com/questions/35976990/how-do-i-convert-an-error-object-in-node-js-to-a-string-properly

Typescript – this keyword
https://stackoverflow.com/questions/16157839/typescript-this-inside-a-class-method
