sam local invoke always use same image even I run sam build first when I update the source code.
              
              #5118
            
            
              
                Unanswered
              
          
                  
                    
                      0417taehyun
                    
                  
                
                  asked this question in
                Questions
              
            Replies: 1 comment 1 reply
-
| 
         It works if I add the command   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
sam local invokealways use same image even I runsam buildfirst when I update the source code.Here is my
template.yamlfile.I run like the one below.
sam buildcreate a new image when I change the source code. However,sam local invokebuild a image which tag israpid-x86_64, and I understand that this image is for lambda execution, which is made bysam local invokecommand. But, I think if thesam buildbuilds a new image, a followedsam local invokebuilds a newrapid-x86_64image. However, it didn't in my local environment.Did I miss something? I want to invoke the AWS Lambda function on my local environment with my local Docker when I change my source code.
Beta Was this translation helpful? Give feedback.
All reactions