Skip to content

Commit

Permalink
dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Jul 23, 2024
1 parent 3d02176 commit aeee084
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_dev3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Terraform plan
id: plan
if: github.event_name == 'pull_request'
run: terraform plan -no-color -input=false
run: terraform plan -no-color -input=false -var-file=${{ vars.ENV_NAME }}.tfvars
continue-on-error: true
working-directory: ./terraform/

Expand All @@ -88,7 +88,7 @@ jobs:
echo "${{ secrets.SSH_PUBLIC_KEY }}" > meshdb_cluster/meshdb{{ vars.ENV_NAME }}.pub
chmod 600 meshdb_cluster/meshdb${{ vars.ENV_NAME }}
chmod 600 meshdb_cluster/meshdb${{ vars.ENV_NAME }}.pub
terraform apply -auto-approve -input=false
terraform apply -auto-approve -input=false -var-file=${{ vars.ENV_NAME }}.tfvars
working-directory: ./terraform/

- name: Run playbook
Expand Down
File renamed without changes.
12 changes: 0 additions & 12 deletions terraform/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ variable "meshdb_proxmox_token_secret" {
sensitive = true
}

variable "meshdb_local_password" {
type = string
description = "password for the local user"
sensitive = true
}

variable "k3s_token" {
type = string
description = "token for the k3s cluster"
Expand Down Expand Up @@ -102,9 +96,3 @@ variable "vm_nic" {
description = "nic for the vms"
default = "vmbr0"
}

variable "k3s_token" {
type = string
description = "token for the k3s cluster"
sensitive = true
}

0 comments on commit aeee084

Please sign in to comment.