We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8154ea + 5168427 commit 77a5880Copy full SHA for 77a5880
1 file changed
pkg/sdkv2/resources/project_repository.go
@@ -59,6 +59,10 @@ func resourceProjectRepositoryCreate(
59
return diag.FromErr(err)
60
}
61
62
+ // Issue #362
63
+ // we don't want to update the connection ID when we set a project otherwise it will update all envs
64
+ project.ConnectionID = nil
65
+
66
project.RepositoryID = &repositoryID
67
68
_, err = c.UpdateProject(projectIDString, *project)
@@ -125,6 +129,10 @@ func resourceProjectRepositoryDelete(
125
129
126
130
127
131
132
133
134
135
128
136
project.RepositoryID = nil
137
138
0 commit comments