[ci skip] update tf-apply and tf-plan skills to run locally with kubeconfig
This commit is contained in:
parent
75fb8a0272
commit
2d95861add
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Run terraform apply to deploy infrastructure changes.
|
||||
|
||||
```bash
|
||||
terraform apply -target=module.kubernetes_cluster.module.<service> -auto-approve
|
||||
terraform apply -target=module.kubernetes_cluster.module.<service> -var="kube_config_path=$(pwd)/config" -auto-approve
|
||||
```
|
||||
|
||||
ALWAYS use -target to speed up execution. Monitor the output and report any errors or successful completions.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Run terraform plan to preview infrastructure changes.
|
||||
|
||||
```bash
|
||||
terraform plan -target=module.kubernetes_cluster.module.<service>
|
||||
terraform plan -target=module.kubernetes_cluster.module.<service> -var="kube_config_path=$(pwd)/config"
|
||||
```
|
||||
|
||||
ALWAYS use -target to speed up execution. Summarize the planned changes, highlighting any resources being destroyed or recreated.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue