File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
security/security-design/shared-assets/bastion-session-script Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11
11
# ##############################################################################
12
12
13
13
# Set default values.
14
- version=" 1.0.2 "
14
+ version=" 1.0.3 "
15
15
oci_profile=" DEFAULT"
16
16
session_name=" Bastion-Session"
17
17
session_check_counter=15 # times 10 seconds for maximum time while checking session creation status.
@@ -153,7 +153,7 @@ oci_create_bastion_session() {
153
153
cmd=" oci bastion session get --session-id ${session_id} ${oci_options} "
154
154
until [ $session_check_counter == 0 ]
155
155
do
156
- sleep 10
156
+ sleep 5
157
157
if ! run_oci_cmd; then
158
158
echo " *** Problem retrieving OCI Bastion session status: ${session_id} "
159
159
exit 1
@@ -165,6 +165,7 @@ oci_create_bastion_session() {
165
165
else
166
166
session_check_counter=0
167
167
fi
168
+ sleep 5
168
169
done
169
170
if [ " ${session_status} " != " ACTIVE" ]; then
170
171
echo " *** Problem creating OCI Bastion session. Failed on status: ${session_status} "
Original file line number Diff line number Diff line change 1
1
# Release Notes
2
2
3
+ ## Feb 20, 2024 Release Notes - v1.0.3
4
+
5
+ - Fixed an issue where sometimes the bastion session resource was used before it was fully ready.
6
+
3
7
## Jul 4, 2023 Release Notes - v1.0.2
4
8
5
9
- Documentation and textual improvements.
You can’t perform that action at this time.
0 commit comments