Feature/terraform deploy workflow (#1239)
* terraform_deploy_workflow -> add workflow for kafka-ui infra terraform deployment * terraform_deploy_workflow -> fix comment * terraform_deploy_workflow -> fix
This commit is contained in:
parent
0c7911360f
commit
3826c70f17
1 changed files with 8 additions and 8 deletions
16
.github/workflows/terraform-deploy.yml
vendored
16
.github/workflows/terraform-deploy.yml
vendored
|
@ -48,14 +48,14 @@ jobs:
|
||||||
- name: Terraform plan
|
- name: Terraform plan
|
||||||
id: plan
|
id: plan
|
||||||
run: |
|
run: |
|
||||||
echo "TF_VAR_github_connector_access_token=${{ secrets.SOURCE_CONNECTOR_GITHUB_TOKEN }}" >> $GITHUB_ENV
|
echo "TF_VAR_github_connector_access_token=${{ secrets.SOURCE_CONNECTOR_GITHUB_TOKEN }}" >> $GITHUB_ENV
|
||||||
# TODO: echo "TF_VAR_repo_user_key=${{ secrets.KAKFA_UI_INFRA_TOKEN }}" >> $GITHUB_ENV
|
# TODO: echo "TF_VAR_repo_user_key=${{ secrets.KAKFA_UI_INFRA_TOKEN }}" >> $GITHUB_ENV
|
||||||
# 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).
|
||||||
# for now i'm leaving this var not exported (kubernetes secret is already created there, so it will work just yet).
|
# for now i'm leaving this var not exported (kubernetes secret is already created there, so it will work just yet).
|
||||||
# After the discussion we deal with this.
|
# After the discussion we deal with this.
|
||||||
terraform plan --var-file="../envs/pro/eks.tfvars"
|
terraform plan --var-file="../envs/pro/eks.tfvars"
|
||||||
|
|
||||||
- name: Terraform plan status
|
- name: Terraform plan status
|
||||||
if: steps.plan.outcome == 'failure'
|
if: steps.plan.outcome == 'failure'
|
||||||
|
|
Loading…
Add table
Reference in a new issue