Skip to content

Commit 599342a

Browse files
authored
chore: upgrade tfe_organization_default_settings to provider framework (#1633)
* chore: upgrade tfe_organization_default_settings to provider framework * test: update acceptance tests * chore: check for 404 when reading org * chore: add plan-time agent execution mode validation * tests: fix tests * chore: validate configuration using ValiateConfig
1 parent c89ba01 commit 599342a

File tree

4 files changed

+285
-128
lines changed

4 files changed

+285
-128
lines changed

internal/provider/provider.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ func Provider() *schema.Provider {
115115
"tfe_oauth_client": resourceTFEOAuthClient(),
116116
"tfe_opa_version": resourceTFEOPAVersion(),
117117
"tfe_organization": resourceTFEOrganization(),
118-
"tfe_organization_default_settings": resourceTFEOrganizationDefaultSettings(),
119118
"tfe_organization_membership": resourceTFEOrganizationMembership(),
120119
"tfe_organization_module_sharing": resourceTFEOrganizationModuleSharing(),
121120
"tfe_organization_token": resourceTFEOrganizationToken(),

internal/provider/provider_next.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func (p *frameworkProvider) DataSources(ctx context.Context) []func() datasource
132132
func (p *frameworkProvider) Resources(ctx context.Context) []func() resource.Resource {
133133
return []func() resource.Resource{
134134
NewAuditTrailTokenResource,
135+
NewOrganizationDefaultSettings,
135136
NewOrganizationRunTaskGlobalSettingsResource,
136137
NewOrganizationRunTaskResource,
137138
NewRegistryGPGKeyResource,

0 commit comments

Comments
 (0)