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
| ARG FUNCTION_DIR="/app/" | |
| ARG AWS_LINUX_VERSION="2022" | |
| ARG PYTHON_VERSION="3.10.4" | |
| FROM amazonlinux:${AWS_LINUX_VERSION} as python-layer | |
| ARG PYTHON_VERSION | |
| # install python |
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
| _stratus() | |
| { | |
| local cur prev opts | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| prev="${COMP_WORDS[COMP_CWORD-1]}" | |
| opts="exec list list-storage create-formatted-snapshot" | |
| if [[ ${prev} == stratus ]] ; then | |
| COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) | |
| return 0 |