add compatible with GitHub App service connection
@@ -37,7 +37,7 @@ func ResourceServiceEndpointGitHub() *schema.Resource {
MinItems: 1,
MaxItems: 1,
Elem: authPersonal,
- ExactlyOneOf: []string{"auth_personal", "auth_oauth"},
+ ConflictsWith: []string{"auth_oauth"},
}
r.Schema["auth_oauth"] = &schema.Schema{
@@ -53,7 +53,7 @@ func ResourceServiceEndpointGitHub() *schema.Resource {
},
},
},
- ExactlyOneOf: []string{"auth_personal", "auth_oauth"},
+ ConflictsWith: []string{"auth_personal"},
}
return r
