I used CodeStar to create a DataPipeline that:
- Downloads code from my github repo
- Tests it in CodeBuild,
- Creates/executes a CloudFormation changeset on a CloudFormation stack that CodeStar created
- Which creates/updates a lambda.
The CloudFormation Stack template references CodeStar::SyncResources. I also noticed the lambda function it created is actually part of a "Lambda Application". the Application has 2 resources: The lambda, and the "SyncResources"
The Cloudformation ChangeSet uses this and I notice that when I push a commit where the function's code isn't changed (for example, when I change the README), the SyncResources gets passed in the ChangeSet execution, but not the lambda itself. If I comment the changeset out in the template than the lambda gets updated everytime even if it isn't changed.
what the heck is this thing? Couldn't find any documentation.