Azure

    sendgrid에서 dynamic template을 쓸때 메일 제목이 안나오는 현상

    이번에 AWS lambda를 이용해서 안내 메일을 발송하는 기능을 구현하고있었다. const sgMail = require('@sendgrid/mail'); sgMail.setApiKey(process.env.SENDGRID_API_KEY); const msg = { to: 'test@example.com', from: 'test@example.com', // Use the email address or domain you verified above subject: 'Sending with Twilio SendGrid is Fun', text: 'and easy to do anywhere, even with Node.js', html: 'and easy to do anywhere, even with No..

    [Azure + AWS] Azure Devops 파이프라인 에서 ECR로 push하기

    repo 생성 2. 파이프라인생성 → docker 로 선택 3.이때 node를 선택안하는 이유는 npm 과 같은 node명령어를 실행시킬것이 아닌 docker 이미지 빌드 명령어를 실행 시킬것이므로 node가 아닌 docker를 선택해준다 4.Amazon ecr push를 추가 해준다. 사진과 같이 azure의 파이프라인에서 tasks 를 추가하면 amazon ecr에 다이렉트로 push와 pull을 할수있다. 이때 amazon 계정을 미리 등록을 시켜놔야 하는데, 사진과 같이 미리 IAM에서 만든 AWS계정을 등록시켜 놓으면 된다. - task: Docker@2 displayName: Build an image inputs: command: build #빌드 repository: 'creatable-s..