-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
confighooks #42
Comments
P.S. I have now a full workflow as well. It differs in a couple of aspects from whats inside here, but if you're interested let me know. I'm glad to help. |
Well, as far as I see, this concept is new to me and I didn't know it exists. From what I read, whenever the environment receives a configuration update (switching from Nginx to Apache or vice-versa, changing autoscaling, settings, etc.), it runs some arbitrary code. I can't find a specific use-case for Laravel to run something when the AWS Configuration changes. I personally don't think Laravel needs to run something when the configuration changes. Prolly is a good idea to refresh nginx or something on configuration update, but I'll look at it. I'll tag this as enhancement and perhaps it will be some scaffolding in the future. |
The only case I can think of is when you change environment variables. While testing I'm 99% sure it only runs the webhooks from the confighooks directory and not from the normaal hooks folder. You can verify this in the eb-engine.log. If that isn't the case for you then it's not really required |
@Nizari how did you solve this? |
Noobie question, How would you start the environment? |
@rmsj sorry for the late reply. Github notifications are making it hard to see spam from real. You can read all details here https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-linux-extend.html |
I use the AWS EB CLI. With that you can easily create new environments. It has many cool other funcitons like downloading a entire config file of your EB environment which you can use to quickly create new environments (in case you current EB environment is corrupt for some reason) https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html |
Hello!
First of thank you for this repo. Some nice extra info!
I was wondering if you also have confighooks? Based on https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-linux-extend.html#platforms-linux-extend.example when you for example update your environment variables, a different set of hooks seems to be triggered. Or am I seeing this wrong?
The text was updated successfully, but these errors were encountered: