Skip to content

Commit 43cb826

Browse files
authored
feat: upgrade tfe_policy_set_parameter resource to the provider framework (#1637)
* feat: upgrade tfe_policy_set_parameter resource to the provider framework * tests: fix tests
1 parent 599342a commit 43cb826

File tree

4 files changed

+255
-122
lines changed

4 files changed

+255
-122
lines changed

internal/provider/provider.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ func Provider() *schema.Provider {
120120
"tfe_organization_token": resourceTFEOrganizationToken(),
121121
"tfe_policy": resourceTFEPolicy(),
122122
"tfe_policy_set": resourceTFEPolicySet(),
123-
"tfe_policy_set_parameter": resourceTFEPolicySetParameter(),
124123
"tfe_project": resourceTFEProject(),
125124
"tfe_project_oauth_client": resourceTFEProjectOAuthClient(),
126125
"tfe_project_policy_set": resourceTFEProjectPolicySet(),

internal/provider/provider_next.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,14 @@ 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+
NewDataRetentionPolicyResource,
135136
NewOrganizationDefaultSettings,
136137
NewOrganizationRunTaskGlobalSettingsResource,
137138
NewOrganizationRunTaskResource,
139+
NewPolicySetParameterResource,
138140
NewRegistryGPGKeyResource,
139141
NewRegistryProviderResource,
140142
NewResourceVariable,
141-
NewDataRetentionPolicyResource,
142143
NewResourceWorkspaceSettings,
143144
NewSAMLSettingsResource,
144145
NewStackResource,

0 commit comments

Comments
 (0)