Skip to content

Commit

Permalink
adjust example folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus committed Sep 9, 2024
1 parent 2fb0509 commit 51a194a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Create kyma runtime on btp
working-directory: examples/kyma-on-btp-basic
working-directory: examples/kyma-on-btp-new-sa
run: |
terraform init
terraform apply -auto-approve
terraform destroy -auto-approve
env:
TF_VAR_BTP_SUBACCOUNT: tf-kyma-module-test-${{ steps.vars.outputs.sha_short }}-${{ github.run_attempt }}
TF_VAR_BTP_SA_REGION: ${{ secrets.sa_region }}
TF_VAR_BTP_NEW_SUBACCOUNT_NAME: tf-kyma-module-test-${{ steps.vars.outputs.sha_short }}-${{ github.run_attempt }}
TF_VAR_BTP_NEW_SUBACCOUNT_REGION: ${{ secrets.sa_region }}
TF_VAR_BTP_GLOBAL_ACCOUNT: ${{ secrets.global_account }}
TF_VAR_BTP_BOT_USER: ${{ secrets.username }}
TF_VAR_BTP_BOT_PASSWORD: ${{ secrets.password }}
Expand Down
7 changes: 0 additions & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ variable "BTP_KYMA_PLAN" {
default = "gcp"
}

#Deprecated
# variable "BTP_SUBACCOUNT" {
# type = string
# description = "Subaccount name"
# default = null
# }

variable "BTP_USE_SUBACCOUNT_ID" {
type = string
description = "Subaccount name"
Expand Down

0 comments on commit 51a194a

Please sign in to comment.