Skip to content

Drush command shortcut#11

Open
AronNovak wants to merge 1 commit intoaws-samples:masterfrom
AronNovak:drush
Open

Drush command shortcut#11
AronNovak wants to merge 1 commit intoaws-samples:masterfrom
AronNovak:drush

Conversation

@AronNovak
Copy link
Copy Markdown

Description of changes:

Using eb ssh is a comfortable way to debug things, but using drush is a must for Drupal sites. We need to use `webapp˙ user to keep things tidy, also we should be able to directly access Drush like any other command, as it's critical for Drupal developers to perform various operations.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AronNovak
Copy link
Copy Markdown
Author

^^ @mwunderl

@chrisrhymes
Copy link
Copy Markdown

When it runs export $(cat /opt/elasticbeanstalk/deployment/env | xargs) it outputs permission denied.

It seems you can use the get-config command to get the environment variables. This then uses sed to replace the : with =.

export $( /opt/elasticbeanstalk/bin/get-config --output YAML environment | sed 's/: /=/g' | xargs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants