Raghu Sodha
Raghu Sodha

Reputation: 176

How aws cloudformation package cli gets last run MD5 checksums?

Below is paragraph from aws cloudformation cli documentation available here. https://docs.aws.amazon.com/cli/latest/reference/cloudformation/package.html

Before the command uploads artifacts, it checks if the artifacts are already present in the S3 bucket to prevent unnecessary uploads. The command uses MD5 checksums to compare files. If the values match, the command doesn't upload the artifacts. Use the --force flag to skip this check and always upload the artifacts.

My question is how does package command gets MD5 checksums of files to compare from last pipeline run?

Upvotes: 0

Views: 332

Answers (1)

Sam
Sam

Reputation: 2882

It doesn't care about the last pipeline run per se.

It gets the current packages md5 and compares it agains the md5's of the artifacts present in the s3 bucket.

Upvotes: 0

Related Questions