diff --git a/.github/workflows/prepare-vs-benchmark.yml b/.github/workflows/prepare-vs-benchmark.yml index 01bfcca..259e0a5 100644 --- a/.github/workflows/prepare-vs-benchmark.yml +++ b/.github/workflows/prepare-vs-benchmark.yml @@ -83,8 +83,8 @@ jobs: sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf" - sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" - sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" env: ## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }} TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }} @@ -202,8 +202,8 @@ jobs: sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf" - sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" - sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" env: ## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }} TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }} diff --git a/.github/workflows/prepare-vs-uninstall.yml b/.github/workflows/prepare-vs-uninstall.yml index b901f66..777e000 100644 --- a/.github/workflows/prepare-vs-uninstall.yml +++ b/.github/workflows/prepare-vs-uninstall.yml @@ -83,8 +83,8 @@ jobs: sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf" - sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" - sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" env: ## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }} TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }} @@ -202,8 +202,8 @@ jobs: sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf" sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf" - sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" - sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared}/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" + sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars" env: ## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }} TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}