Updated scripts with commands dependent of AMI version to appropriately check platform version. This allows scripts to run on any platform without suppressing errors.
Testing Done
All versions created / started up successfully with LCCs.
[x] Notebook Instance created successfully with the Lifecycle Configuration
[x] Notebook Instance stopped and started successfully
[ ] Documentation in the script around any network access requirements
[ ] Documentation in the script around any IAM permission requirements
[x] CLI commands used to validate functionality on the instance
[ ] New script link and description added to README.md
For Environment variable setting - same check executed on all three platforms.
sh-4.2$ printenv
...
SHELL=/bin/sh
HISTSIZE=1000
CONDA_SHLVL=1
CONDA_PROMPT_MODIFIER=(JupyterSystemEnv)
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
TEST_VAR=
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
N/A.
Description of changes:
Updated scripts with commands dependent of AMI version to appropriately check platform version. This allows scripts to run on any platform without suppressing errors.
Testing Done
All versions created / started up successfully with LCCs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.