Skip to content

Commit eef5319

Browse files
committed
upsert true
1 parent 1e91ff7 commit eef5319

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

argocd/resource_argocd_project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func resourceArgoCDProjectCreate(ctx context.Context, d *schema.ResourceData, me
104104
},
105105
// TODO: allow upsert instead of always requiring resource import?
106106
// TODO: make that a resource flag with proper acceptance tests
107-
Upsert: false,
107+
Upsert: true,
108108
})
109109
tokenMutexProjectMap[projectName].Unlock()
110110

argocd/resource_argocd_repository_credentials.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func resourceArgoCDRepositoryCredentialsCreate(ctx context.Context, d *schema.Re
4444
ctx,
4545
&repocreds.RepoCredsCreateRequest{
4646
Creds: repoCreds,
47-
Upsert: false,
47+
Upsert: true,
4848
},
4949
)
5050
tokenMutexConfiguration.Unlock()

0 commit comments

Comments
 (0)