You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments. They generate extra noise for issue followers and do not help prioritize the request.
Tell us about your request
Add more information specific to the statuses of .platform/hooks
Is this request specific to an Elastic Beanstalk platform?
If so, which one(s)?
All of them.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
From the AWS Console and from the EB CLI it would be helpful to see the statuses from each .platform/hook in the events log.
Something like:
[DateTime] - Info - .platform/hooks/prebuild/01_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/prebuild/02_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/predeploy - Empty, No scripts to run!
[DateTime] - Error - .platform/hooks/postbuild/01_my_script.sh - Failed!
As of now if one of them failed, I would not know which one. The Events would just say Error on deployment. I would have to log into my instance or cloudwatch logs and spend lots of time tracking down the issue. Plus showing the Success! gives me additional confidence that everything ran successfully in my scripts. Also seeing "Empty" or "Not Specified" would be helpful incase we misspell "predeploy" or something. I ran into an issue where I added .platform to my .ebignore which made it so there were no platform hooks. It took me awhile to understand that EB was not seeing them. This would have helped me determine that quicker.
Are you currently working around this issue?
No, it is just assumed that they got ran. I would have to go into my cloudwatch logs and search for them manually.
Additional context
I understand this may be not needed for some so I think the main usage would be in the EB CLI and we could add a flag like --show-hook-statuses
The text was updated successfully, but these errors were encountered:
Community Note
Tell us about your request
Add more information specific to the statuses of .platform/hooks
Is this request specific to an Elastic Beanstalk platform?
If so, which one(s)?
All of them.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
From the AWS Console and from the EB CLI it would be helpful to see the statuses from each .platform/hook in the events log.
Something like:
[DateTime] - Info - .platform/hooks/prebuild/01_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/prebuild/02_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/predeploy - Empty, No scripts to run!
[DateTime] - Error - .platform/hooks/postbuild/01_my_script.sh - Failed!
As of now if one of them failed, I would not know which one. The Events would just say Error on deployment. I would have to log into my instance or cloudwatch logs and spend lots of time tracking down the issue. Plus showing the Success! gives me additional confidence that everything ran successfully in my scripts. Also seeing "Empty" or "Not Specified" would be helpful incase we misspell "predeploy" or something. I ran into an issue where I added .platform to my .ebignore which made it so there were no platform hooks. It took me awhile to understand that EB was not seeing them. This would have helped me determine that quicker.
Are you currently working around this issue?
No, it is just assumed that they got ran. I would have to go into my cloudwatch logs and search for them manually.
Additional context
I understand this may be not needed for some so I think the main usage would be in the EB CLI and we could add a flag like
--show-hook-statuses
The text was updated successfully, but these errors were encountered: