-
-
Save tgmerritt/19342e18bbb3601ec6b81a3a02bc9da9 to your computer and use it in GitHub Desktop.
AWS Elastic Beanstalk .ebextensions - get S3 file with commands key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
01_get_nginx_conf_file: | |
command: aws s3 cp s3://your-bucket-name/shared_config/an_nginx_http.conf /home/ec2-user | |
container_commands: | |
01_move_nginx_conf_file: | |
command: mv -f /home/ec2-user/an_nginx_http.conf /etc/nginx/conf.d/an_nginx_http.conf | |
02_reload_nginx: | |
command: "sudo service nginx reload" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment