How can these requirements be met with the LEAST management overhead and without requiring different script versions for each deployment group?

1 Comment

  1. Rebecca
    Author

    As I understand it, the answer is:
    Create a script that uses the CodeDeploy environment variable DEPLOYMENT_GROUP_ NAME to identify which deployment group the instance is part of. Use this information to configure the log level settings. Reference this script as part of the BeforeInstall lifecycle hook in the appspec.yml file.

Leave a Reply

Your email address will not be published. Required fields are marked *

two × 5 =