-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
on-holdIssues or Pull Requests with this label will never be considered staleIssues or Pull Requests with this label will never be considered stalequestionIndicates this issue is a question instead of a bug or featureIndicates this issue is a question instead of a bug or feature
Description
Terraform version:1.7.1
ArgoCD provider version: 6.1.1
ArgoCD version: 2.11.3
Terraform configuration
# Enter your configuration here.
resource "argocd_project" "argocd_appproject" {
metadata {
name = join("-",[var.namespace,"appproject"])
namespace = "argocd"
finalizers = ["resources-finalizer.argocd.argoproj.io"]
}
spec {
description = "Project for ${var.namespace}"
source_repos = [var.gitops_source_repo]
destinations {
namespace = var.namespace
server = "https://kubernetes.default.svc"
}
orphaned_resources {
warn = true
}
}
} Question
This does not allow me to create appproject saying
➜ Test terraform plan
╷
│ Error: Unsupported argument
│
│ on main.tf line 17, in resource "argocd_project" "argocd_appproject":
│ 17: finalizers = ["resources-finalizer.argocd.argoproj.io"]
│
│ An argument named "finalizers" is not expected here.
CoolDuke and christopherbox
Metadata
Metadata
Assignees
Labels
on-holdIssues or Pull Requests with this label will never be considered staleIssues or Pull Requests with this label will never be considered stalequestionIndicates this issue is a question instead of a bug or featureIndicates this issue is a question instead of a bug or feature