Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LocalStackでLambdaのローカルテストをしよう/Let's test of Lam...

rednes
October 15, 2018

LocalStackでLambdaのローカルテストをしよう/Let's test of Lambda with LocalStack

社内勉強会で使ったスライドです

rednes

October 15, 2018
Tweet

More Decks by rednes

Other Decks in Technology

Transcript

  1. -PDBM4UBDLͱ͸ w %PDLFSͰϩʔΧϧʹٖࣅతͳ
 "84؀ڥΛ࡞ΔπʔϧͰ͢
 IUUQTHJUIVCDPNMPDBMTUBDLMPDBMTUBDL w ରԠαʔϏε
 "1*(BUFXBZ ,JOFTJT %ZOBNP%#

    %ZOBNP%# 4USFBN &MBTUJDTFBSDI 4 'JSFIPTF -BNCEB 4/4  424 3FETIJGU &4 &MBTUJDTFBSDI4FSWJDF 4&4  3PVUF $MPVE'PSNBUJPO $MPVE8BUDI 44.  4FDSFUT.BOBHFS/FX SFMFBTFE  
  2. ར༻Πϝʔδ   LocalStackΠϝʔδ Amazon
 DynamoDB Amazon
 SQS Amazon
 S3

    ϩʔΧϧ։ൃ؀ڥ SDK AWS CLI CLI ϩʔΧϧ σΟεΫ EPDLFSWPMVNFͱͯ͠Ϛ΢ϯτ %ZOBNP%#౳ͷσʔλΛ ϑΝΠϧͱͯ͠อଘ
  3. "84$-*Ͱ࢖͏ w $SFEFOUJBMT͸ɺEVNNZ஋ΛೖΕΔ w SFHJPO͸ɺVTFBTU w FOEQPJOU͸ɺMPDBMIPTU9999 w  

    FYQPSU"84@"$$&44@,&:@*%EVNNZ FYQPSU"84@4&$3&5@"$$&44@,&:EVNNZ FYQPSU"84@%&'"6-5@3&(*0/VTFBTU BXTEZOBNPECMJTUUBCMFTFOEQPJOUIUUQMPDBMIPTU { "TableNames": [] }
  4. 4FDSFUT.BOBHFS࢖ͬͯΈΔ w 4FDSFUΛ࡞Δ w 4FDSFU஋Λऔಘ͢Δ w   BXTTFDSFUTNBOBHFSDSFBUFTFDSFUFOEQPJOUIUUQMPDBMIPTU OBNF4FDSFU/BNFTFDSFUTUSJOHb\1"44803%EVNNZ^

    BXTTFDSFUTNBOBHFSHFUTFDSFUWBMVFTFDSFUJE4FDSFU/BNF FOEQPJOUIUUQMPDBMIPTU BXTTFDSFUTNBOBHFSHFUTFDSFUWBMVFFOEQPJOUIUUQMPDBMIPTU TFDSFUJE4FDSFU/BNF \ "ARN": "arn:aws:secretsmanager:us- east-1:1234567890:secret:SecretName-rIjad", "Name": "SecretName", "VersionId": "A435958A-D821-4193-B719-B7769357AER4", "SecretString": "{\"PASSWORD\":\"dummy\"}", "VersionStages": [ "AWSCURRENT" ], "CreatedDate": "2018-05-23 13:16:57.198000" }