Skip to content

Commit 713c8b6

Browse files
committed
fix: Apply terraform fmt formatting to all .tf files
- Fix formatting in argocd.tf, main.tf, and providers.tf - Ensure compliance with terraform fmt standards - Resolves CI pipeline formatting check failures
1 parent 105490b commit 713c8b6

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

argocd.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
resource "helm_release" "argocd" {
22
count = var.create_k8s_resources ? 1 : 0
3-
4-
name = "argocd"
5-
chart = "argo-cd"
6-
repository = "https://argoproj.github.io/argo-helm"
7-
namespace = kubernetes_namespace.argocd[0].metadata[0].name
8-
version = "9.0.5"
9-
3+
4+
name = "argocd"
5+
chart = "argo-cd"
6+
repository = "https://argoproj.github.io/argo-helm"
7+
namespace = kubernetes_namespace.argocd[0].metadata[0].name
8+
version = "9.0.5"
9+
1010
values = [
1111
<<EOF
1212
server:
1313
service:
1414
type: ClusterIP
1515
EOF
1616
]
17-
17+
1818
depends_on = [kubernetes_namespace.argocd]
1919
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ terraform {
2222
# Minikube cluster for local development
2323
resource "minikube_cluster" "minikube_docker" {
2424
count = var.create_k8s_resources ? 1 : 0
25-
25+
2626
driver = "docker"
2727
cluster_name = "devops-project"
2828
addons = [

providers.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ provider "minikube" {
99
provider "kubernetes" {
1010
# Use default kubectl config when creating resources
1111
# Skip cluster connection when create_k8s_resources = false for CI/CD validation
12-
config_path = var.create_k8s_resources ? "~/.kube/config" : null
12+
config_path = var.create_k8s_resources ? "~/.kube/config" : null
1313
config_context = var.create_k8s_resources ? "devops-project" : null
14-
14+
1515
# Ignore missing context during initial plan
1616
ignore_annotations = []
1717
}
1818

1919
# Helm provider configuration
2020
provider "helm" {
2121
kubernetes {
22-
config_path = var.create_k8s_resources ? "~/.kube/config" : null
22+
config_path = var.create_k8s_resources ? "~/.kube/config" : null
2323
config_context = var.create_k8s_resources ? "devops-project" : null
2424
}
2525
}

0 commit comments

Comments
 (0)