Hooks in Elastic Beanstalk V3.0.1 (Amazon Linux 2) for configuration updates

Viewed 709
2 Answers

If you look at the current docs here: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-linux-extend.html, under Platform hooks -> Configuration deployment platform hooks, it explains:

A configuration deployment occurs when you make configuration changes that only update environment instances without recreating them.

And further:

To provide hooks that run during a configuration deployment, place them under the .platform/confighooks directory in your source bundle

So adding a Configuration deployment platform hook in this way should execute each time an environment property is changed.

Related