[DOC-535] Snowsql test

This commit is contained in:
Grzegorz Huber
2024-06-25 17:34:35 +02:00
parent 34306946cb
commit 2919c6ef60
4 changed files with 9 additions and 6 deletions
+3
View File
@@ -71,3 +71,6 @@ streamlit/results.csv
# env
streamlit/venv
*.tfplan
*.pem
+1 -1
View File
@@ -116,7 +116,7 @@ resource "null_resource" "snowsql_client_create" {
# doczyai-use2-d-infra-s3-textract-processing-001
# doczyai-use2-d-cn1-s3-textract-processing-001
command = "./snowsql-cicd.sh dev ${each.value.client_id} ${each.value.full_name} ${replace(local.processing_s3_bucket_name, "infra", each.value.client_id)}"
command = "./snowsql-cicd.sh dev ${each.value.client_id} '${each.value.full_name}' ${replace(local.processing_s3_bucket_name, "infra", each.value.client_id)}"
}
}
+4 -4
View File
@@ -2,10 +2,10 @@
set -euo pipefail
ENV_GROUP=$1
CLIENT_ID=$2
FULL_NAME=$3
BUCKET_NAME=$4
ENV_GROUP="$1"
CLIENT_ID="$2"
FULL_NAME="$3"
BUCKET_NAME="$4"
echo "ENV_GROUP=${ENV_GROUP}, CLIENT_ID=${CLIENT_ID}, FULL_NAME=${FULL_NAME}, BUCKET_NAME=${BUCKET_NAME}"
+1 -1
View File
@@ -7,7 +7,7 @@ client_list = {
full_name = "Centene"
},
client1 = {
client_id = "cicd-demo"
client_id = "cicd-demo2"
full_name = "CICD Demo"
}
}