dhanvi
09/22/2021, 12:48 PMhello2
and expected seed to just deploy hello2
but seed deployed both hello and hello2. Am I doing something wrong?dhanvi
09/22/2021, 12:49 PMCloudFormation - UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - seed-run-poc-dev
CloudFormation - UPDATE_IN_PROGRESS - AWS::Lambda::Function - HelloLambdaFunction
CloudFormation - UPDATE_IN_PROGRESS - AWS::Lambda::Function - Hello2LambdaFunction
CloudFormation - UPDATE_COMPLETE - AWS::Lambda::Function - Hello2LambdaFunction
CloudFormation - UPDATE_COMPLETE - AWS::Lambda::Function - HelloLambdaFunction
CloudFormation - CREATE_IN_PROGRESS - AWS::Lambda::Version - Hello2LambdaVersion3J3P63SegAQNgnQbKC10lKxHR1dVDpqkNd7EF5HpM
CloudFormation - CREATE_IN_PROGRESS - AWS::Lambda::Version - HelloLambdaVersion62mp8Qc504doEo9TaAUjdqNcxhzz0NAMtjSr6toOzk
CloudFormation - CREATE_IN_PROGRESS - AWS::Lambda::Version - Hello2LambdaVersion3J3P63SegAQNgnQbKC10lKxHR1dVDpqkNd7EF5HpM
CloudFormation - CREATE_COMPLETE - AWS::Lambda::Version - Hello2LambdaVersion3J3P63SegAQNgnQbKC10lKxHR1dVDpqkNd7EF5HpM
CloudFormation - CREATE_IN_PROGRESS - AWS::Lambda::Version - HelloLambdaVersion62mp8Qc504doEo9TaAUjdqNcxhzz0NAMtjSr6toOzk
CloudFormation - CREATE_COMPLETE - AWS::Lambda::Version - HelloLambdaVersion62mp8Qc504doEo9TaAUjdqNcxhzz0NAMtjSr6toOzk
CloudFormation - CREATE_IN_PROGRESS - AWS::ApiGateway::Deployment - ApiGatewayDeployment1632224742113
CloudFormation - CREATE_IN_PROGRESS - AWS::ApiGateway::Deployment - ApiGatewayDeployment1632224742113
CloudFormation - CREATE_COMPLETE - AWS::ApiGateway::Deployment - ApiGatewayDeployment1632224742113
CloudFormation - UPDATE_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack - seed-run-poc-dev
CloudFormation - DELETE_IN_PROGRESS - AWS::ApiGateway::Deployment - ApiGatewayDeployment1632224329011
CloudFormation - DELETE_SKIPPED - AWS::Lambda::Version - Hello2LambdaVersion0fcU1ckjbI33sMHmpNJA6TUmzYygKC70hTzmUIy8
CloudFormation - DELETE_SKIPPED - AWS::Lambda::Version - HelloLambdaVersion6dBj7NabM25RFtkI6SpZ117bHGqlN1ABrOmMnI6NFuY
CloudFormation - DELETE_COMPLETE - AWS::ApiGateway::Deployment - ApiGatewayDeployment1632224329011
CloudFormation - UPDATE_COMPLETE - AWS::CloudFormation::Stack - seed-run-poc-dev
Frank
dhanvi
09/23/2021, 6:24 AMdhanvi
09/23/2021, 6:25 AMFrank
sls deploy
, check if the CFN template has changed, if not, use AWS CLI to deploy specific changed Lambda functions.dhanvi
09/24/2021, 6:17 AMdhanvi
09/24/2021, 9:38 AM$ seed deploy --incremental
seed-run-poc-dev-hello2: Changes detected. Updating...
seed-run-poc-dev-hello: Changes detected. Updating...
Frank
Frank
sha1sum {file}
Frank
dhanvi
09/26/2021, 8:36 AMYou can check if the files are the same by checking the checksum, ie.Sorry I didn't get you, could you please point me towards some documentation/example
Frank
hello
and hello2
like this https://stackoverflow.com/a/41205928/7667989
2. Run sha1sum on both zip files
3. Make a change to 1 of the functions and git push to deploy to Seed.
4. If you see both functions are updated, repeat step 1-2 to download the zips again and get the checksum
5. If the checksum have changed for both zip files, you can unzip them and diff the files and see what has changed.dhanvi
09/28/2021, 5:56 AM