You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.namespaceserver="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.
The text was updated successfully, but these errors were encountered:
Sudhanshu-Saurav
changed the title
While creating appproject how we can add finalizers in the appproject resource
While creating appproject how we can add finalizers in the argocd_project resource
Jul 2, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Terraform configuration
Question
This does not allow me to create appproject saying
➜ Test terraform plan
The text was updated successfully, but these errors were encountered: