Skip to content

Commit a9cc254

Browse files
committed
review comments
Signed-off-by: vivekr-splunk <[email protected]>
1 parent 055462e commit a9cc254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/deploy-eks-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function deleteCluster() {
3232

3333
aws iam delete-role --role-name ${rolename}
3434
oidc_id=$(aws eks describe-cluster --name ${TEST_CLUSTER_NAME} --query "cluster.identity.oidc.issuer" --output text | cut -d '/' -f 5)
35-
aws iam delete-open-id-connect-provider --open-id-connect-provider-arn arn:aws:iam::${account_id}:oidc-provider/${oidc_id}
35+
aws iam delete-open-id-connect-provider --open-id-connect-provider-arn arn:aws:iam::${account_id}:oidc-provider/oidc.eks.us-west-2.amazonaws.com/id/${oidc_id}
3636
security_group_id=$(aws eks describe-cluster --name ${TEST_CLUSTER_NAME} --query "cluster.resourcesVpcConfig.securityGroupIds[0]" --output text)
3737
aws ec2 delete-security-group --group-id ${security_group_id}
3838
echo "Cleanup remaining PVC on the EKS Cluster ${TEST_CLUSTER_NAME}"

0 commit comments

Comments
 (0)