Feature/terraform deploy workflow (#1244)
* terraform_deploy_workflow -> add workflow for kafka-ui infra terraform deployment * terraform_deploy_workflow -> fix comment * terraform_deploy_workflow -> fix * terraform_deploy_workflow add cd to tf script path for all steps * terraform_deploy_workflow fix dollar sign when setting var * terraform_deploy_workflow terraform cannot read from $GITHUB_ENV add explicit export
This commit is contained in:
parent
4cad34c0f5
commit
93ba61ddb9
1 changed files with 2 additions and 2 deletions
4
.github/workflows/terraform-deploy.yml
vendored
4
.github/workflows/terraform-deploy.yml
vendored
|
@ -47,8 +47,8 @@ jobs:
|
||||||
id: plan
|
id: plan
|
||||||
run: |
|
run: |
|
||||||
cd $TF_DIR
|
cd $TF_DIR
|
||||||
echo "TF_VAR_github_connector_access_token=${{ secrets.SOURCE_CONNECTOR_GITHUB_TOKEN }}" >> $GITHUB_ENV
|
export TF_VAR_github_connector_access_token=${{ secrets.SOURCE_CONNECTOR_GITHUB_TOKEN }}
|
||||||
# TODO: echo "TF_VAR_repo_user_key=${{ secrets.KAKFA_UI_INFRA_TOKEN }}" >> $GITHUB_ENV
|
# TODO: export TF_VAR_repo_user_key=${{ secrets.KAKFA_UI_INFRA_TOKEN }}
|
||||||
# we add these two vars to the env since we use them in tf deployment
|
# we add these two vars to the env since we use them in tf deployment
|
||||||
# the TF_VAR_repo_user_key has to match the user from kafka-ui-infra repo (we create kubernetes secret there)
|
# the TF_VAR_repo_user_key has to match the user from kafka-ui-infra repo (we create kubernetes secret there)
|
||||||
# currently its azsafin, changing it to kafka-ui-infra in infra repo will be better (imho).
|
# currently its azsafin, changing it to kafka-ui-infra in infra repo will be better (imho).
|
||||||
|
|
Loading…
Add table
Reference in a new issue