-
Notifications
You must be signed in to change notification settings - Fork 889
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
EFS volume mounts not applicable in Amazon Linux 2 AMIs #120
Comments
Update: Indeed For now I hardcoded mount dir and fs id to fix it The script throws this error mount: :/: can't find in /etc/fstab. I opened an issue earlier too but then closed it, thought I was missing something |
Likewise; I was able to hardcode the parameters in, though the EFS mount was successful for me with this workaround. |
See: #111 I think this is a bit of a show stopper at the moment and really needs to be fixed. Being unable to get environment variables at all makes it almost impossible to do anything dynamically.
|
Can't believe they closed the issue with "its great and post to aws forum", lol |
The environment variables are available as soon as the environment has been successfully deployed, e. g. as global environment variables in PHP. But if you need them during deployment process, for example in a hook, there seems to be no solution from AWS side yet. Some people will run into the next problem, if they change an environment variable in a running instance. The hooks won't be executed. So if you have used a hook to replace something with an environment variable in your artifact, it will not be replaced with the new value after configuration update. |
Hey Guys, @jpswade, I found out about
|
All, We appreciate the sentiment and acknowledge that this is a serious issue. The reason I closed #111 and will close this one isn't that this isn't important - it's because we're already aware of the problem and are tracking it internally. The Beanstalk team indicated that they're working on re-implementing get-config for the AL2 platforms. |
Oh, I'm sorry. Do you have a timeline ? Otherwise I'm just going to write my own version of get-config today so we can continue our project without having to by hand update every single script... |
@tomchiverton This is a repo of documented examples - not a tracking system for Elastic Beanstalk issues. |
https://github.com/awsdocs/elastic-beanstalk-samples/blob/master/configuration-files/aws-provided/instance-configuration/storage-efs-mountfilesystem.config#L54
The
get-config
command is no longer available in AL2 AMIs. It would be nice to have updated examples for these scripts that will work in those environments.The text was updated successfully, but these errors were encountered: