We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1733e2 commit 4d01ba6Copy full SHA for 4d01ba6
lab/bin/reset-environment
@@ -1,5 +1,13 @@
1
#!/bin/bash
2
3
+if [ ! -z "${AWS_ACCESS_KEY_ID}" ]; then
4
+ echo "Error: You have AWS credentials set in this terminal"
5
+ echo "This IDE is configured to use an IAM instance profile with the appropriate permissions"
6
+ echo ""
7
+ echo "Please close this terminal and open a new one, do not set AWS_ACCESS_KEY_ID or any related variables"
8
+ exit 1
9
+fi
10
+
11
# Make sure we run from a consistent directory
12
cd ~
13
0 commit comments