File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 30
30
030fbb6a-3b6d-40dc-9c26-b222001b0fb6 > grafana_url
31
31
f8f85ab2-5f6d-46a7-9e06-b20800076d26 > s3_endpoint
32
32
b6dac092-df23-4e28-8449-b2770059096d > kube_config
33
+ 4dff237e-93ad-4eda-a776-b28400653181 > bws_access_token
33
34
34
35
35
36
- name : Create tfvars file
41
42
grafana_auth = "${{ steps.bitwarden-secrets.outputs.grafana_auth }}"
42
43
grafana_url = "${{ steps.bitwarden-secrets.outputs.grafana_url }}"
43
44
s3_endpoint = "${{ steps.bitwarden-secrets.outputs.s3_endpoint }}"
45
+ access_token = "${{ steps.bitwarden-secrets.outputs.bws_access_token }}"
44
46
EOF
45
47
46
48
- name : Make Kube directory
51
53
run : |
52
54
printf "%s" "${{ steps.bitwarden-secrets.outputs.kube_config }}" > ~/.kube/config
53
55
54
- - name : Verify kubectl and Cluster Connection
55
- run : |
56
- kubectl get nodes
57
-
58
56
- name : Setup OpenTofu
59
57
uses : https://github.com/opentofu/setup-opentofu@v1.0.5
60
58
74
72
AWS_ACCESS_KEY_ID : ${{ steps.bitwarden-secrets.outputs.aws_access_key_id }}
75
73
AWS_SECRET_ACCESS_KEY : ${{ steps.bitwarden-secrets.outputs.aws_secret_access_key }}
76
74
TF_LOG : DEBUG
77
- run : tofu plan -no-color - parallelism=1 -out=tfplan < /dev/null
75
+ run : tofu plan -parallelism=1 -out=tfplan
78
76
79
77
- name : Apply the Plan
80
78
if : success()
You can’t perform that action at this time.
0 commit comments