Skip to content

Commit

Permalink
Merge pull request #842 from jfrog/revert-permission-target-to-sdkv2
Browse files Browse the repository at this point in the history
Revert permission target resource back to SDKv2 version
  • Loading branch information
alexhung authored Nov 6, 2023
2 parents 60d964c + 5906e26 commit e315c99
Show file tree
Hide file tree
Showing 5 changed files with 289 additions and 421 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 9.7.4 (Nov 3, 2023). Tested on Artifactory 7.71.3 with Terraform CLI v1.6.3

IMPROVEMENTS:

* resource/artifactory_permission_target: Revert back to using Terraform SDKv2 due to unresolved performance issue from Terraform Framework. Issue: [#757](https://github.com/jfrog/terraform-provider-artifactory/issues/757) and [#805](https://github.com/jfrog/terraform-provider-artifactory/issues/805) PR: [#842](https://github.com/jfrog/terraform-provider-artifactory/pull/842)

## 9.7.3 (Nov 2, 2023). Tested on Artifactory 7.71.3 with Terraform CLI v1.6.3

SECURITY:
Expand Down Expand Up @@ -258,7 +264,7 @@ IMPROVEMENTS:

* resource/artifactory_permission_target is migrated to Plugin Framework, improved attribute validation.

PR: [#742](https://github.com/jfrog/terraform-provider-artifactory/pull/42)
PR: [#742](https://github.com/jfrog/terraform-provider-artifactory/pull/742)

## 7.11.2 (May 30, 2023). Tested on Artifactory 7.59.9

Expand Down
1 change: 0 additions & 1 deletion pkg/artifactory/provider/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ func (p *ArtifactoryProvider) Resources(ctx context.Context) []func() resource.R
user.NewAnonymousUserResource,
security.NewGroupResource,
security.NewScopedTokenResource,
security.NewPermissionTargetResource,
security.NewGlobalEnvironmentResource,
security.NewDistributionPublicKeyResource,
security.NewCertificateResource,
Expand Down
1 change: 1 addition & 0 deletions pkg/artifactory/provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func resourcesMap() map[string]*schema.Resource {
"artifactory_virtual_rpm_repository": virtual.ResourceArtifactoryVirtualRpmRepository(),
"artifactory_virtual_helm_repository": virtual.ResourceArtifactoryVirtualHelmRepository(),
"artifactory_unmanaged_user": user.ResourceArtifactoryUser(), // alias of artifactory_user
"artifactory_permission_target": security.ResourceArtifactoryPermissionTarget(),
"artifactory_pull_replication": replication.ResourceArtifactoryPullReplication(),
"artifactory_push_replication": replication.ResourceArtifactoryPushReplication(),
"artifactory_local_repository_single_replication": replication.ResourceArtifactoryLocalRepositorySingleReplication(),
Expand Down
Loading

0 comments on commit e315c99

Please sign in to comment.