Skip to content

Commit 2205177

Browse files
committed
Apply missing --region variable in kube config setting
1 parent 7dae3a6 commit 2205177

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ gather_parameters_deploy() {
2525

2626

2727
gather_parameters_destroy() {
28+
export CURRENT_ROLE_ARN="Not Applicable"
2829
read -p "Deployment identifier [posit-sce]: " stack_name
2930
stack_name=${stack_name:-posit-sce}
3031
}

scripts/kube-reset.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "./scripts/utils.sh"
44

55
export_env_from_file "./.env"
66

7-
if ! aws eks update-kubeconfig --name $EKS_CLUSTER_NAME --region; then exit; fi
7+
if ! aws eks update-kubeconfig --name $EKS_CLUSTER_NAME; then exit; fi
88

99
#Uninstall POSIT
1010
kubectl config set-context --current --namespace=posit-workbench

0 commit comments

Comments
 (0)