File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -156,30 +156,30 @@ resource "argocd_repository" "helm" {
156156
157157func testAccArgoCDRepositoryHelmProjectScoped (project string ) string {
158158 return fmt .Sprintf (`
159- resource "argocd_project" "simple" {
160- metadata {
161- name = "%s"
162- namespace = "argocd"
163- }
164-
165- spec {
166- description = "simple project"
167- source_repos = ["*"]
159+ resource "argocd_project" "simple" {
160+ metadata {
161+ name = "%[1]s"
162+ namespace = "argocd"
163+ }
168164
169- destination {
170- name = "anothercluster"
171- namespace = "bar"
172- }
173- }
174- }
165+ spec {
166+ description = "simple project"
167+ source_repos = ["*"]
168+
169+ destination {
170+ name = "anothercluster"
171+ namespace = "bar"
172+ }
173+ }
174+ }
175175
176176resource "argocd_repository" "helm" {
177177 repo = "https://helm.nginx.com/stable"
178178 name = "nginx-stable-scoped"
179179 type = "helm"
180- project = "%s"
180+ project = "%[1] s"
181181}
182- ` , project , project )
182+ ` , project )
183183}
184184
185185func testAccArgoCDRepositoryPublicUsageInApplication (name string ) string {
You can’t perform that action at this time.
0 commit comments