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
returnfmt.Errorf("cost center %q not found in enterprise %q (check enterprise_slug matches the cost center's enterprise)", costCenterID, enterpriseSlug)
105
+
}
103
106
returnerr
104
107
}
105
108
ifstrings.EqualFold(cc.State, "deleted") {
106
109
returnfmt.Errorf("cannot modify cost center %q resources because it is archived", costCenterID)
Copy file name to clipboardExpand all lines: website/docs/r/enterprise_cost_center_resources.html.markdown
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ This resource allows you to manage which users, organizations, and repositories
11
11
12
12
The `users`, `organizations`, and `repositories` arguments are authoritative: on every apply, Terraform will add and remove assignments to match exactly what is configured.
13
13
14
+
Note: `enterprise_slug` must match the enterprise where the cost center was created. If they don't match, GitHub will return `404 Not Found` for the cost center ID.
0 commit comments