Commit 616802e
committed
feat: add github_organization_security_configuration and github_enterprise_security_configuration resources
Adds resources to manage Code Security Configurations at the organization
and enterprise level. Addresses all reviewer feedback from PR integrations#3143:
- Fixed go-github import to v82 (matching go.mod)
- Removed fmt.Sprintf from all tflog calls, using structured fields only
- Create/Update set Computed fields directly and return nil (no Read call)
- Added configuration_id Computed field for numeric API ID in State
- Update/Delete use d.Get() from State instead of parsing composite ID
- Simplified Import function, removed redundant buildID/SetId
- Extracted setState helpers to DRY up Computed field population
- Added unit tests for all util flatten functions
Resolves integrations#24121 parent e57f353 commit 616802e
9 files changed
Lines changed: 2102 additions & 0 deletions
File tree
- github
- website/docs/r
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
0 commit comments