Skip to content

Commit

Permalink
Merge pull request #1052 from jfrog/deprecate-saml-settings
Browse files Browse the repository at this point in the history
Deprecate 'artifactory_saml_settings' resource
  • Loading branch information
alexhung authored Aug 12, 2024
2 parents 11b970a + 485cc3f commit 71d9a5b
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 11.5.2 (August 12, 2024). Tested on Artifactory 7.90.7 with Terraform 1.9.4 and OpenTofu 1.8.1
## 11.6.0 (August 12, 2024). Tested on Artifactory 7.90.7 with Terraform 1.9.4 and OpenTofu 1.8.1

NOTES:

* resource/artifactory_saml_settings: This resource is being deprecated and replaced by new [platform_saml_settings](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/saml_settings) resource in the Platform provider. PR: [#1052](https://github.com/jfrog/terraform-provider-artifactory/pull/1052)

BUG FIXES:

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/permission_target.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
subcategory: "Security"
subcategory: "Deprecated"
---
# Artifactory Permission Target Resource

Provides an Artifactory permission target resource. This can be used to create and manage Artifactory permission targets.

~> This resource has been deprecated in favor of [platform_permission](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/permission) resource.
!>This resource has been deprecated in favor of [platform_permission](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/permission) resource.

## Example Usage

Expand Down
4 changes: 3 additions & 1 deletion docs/resources/release_bundle_custom_webhook.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
subcategory: "Webhook"
subcategory: "Deprecated"
---
# Artifactory Release Bundle Custom Webhook Resource

Provides an Artifactory custom webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.

!>This resource is being deprecated and replaced by `artifactory_destination_custom_webhook` resource.

## Example Usage

```hcl
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/release_bundle_v2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "artifactory_release_bundle_v2 Resource - terraform-provider-artifactory"
subcategory: "lifecycle"
subcategory: "Lifecycle"
description: |-
This resource enables you to creates a new Release Bundle v2, uniquely identified by a combination of repository key, name, and version. For more information, see Understanding Release Bundles v2 https://jfrog.com/help/r/jfrog-artifactory-documentation/understanding-release-bundles-v2 and REST API https://jfrog.com/help/r/jfrog-rest-apis/create-release-bundle-v2-version.
---
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/release_bundle_v2_promotion.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "artifactory_release_bundle_v2_promotion Resource - terraform-provider-artifactory"
subcategory: "lifecycle"
subcategory: "Lifecycle"
description: |-
This resource enables you to promote Release Bundle V2 version. For more information, see JFrog documentation https://jfrog.com/help/r/jfrog-artifactory-documentation/promote-a-release-bundle-v2-to-a-target-environment.
---
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/release_bundle_webhook.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
subcategory: "Webhook"
subcategory: "Deprecated"
---
# Artifactory Release Bundle Webhook Resource

Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.

!>This resource is being deprecated and replaced by `artifactory_destination_webhook` resource.

## Example Usage
.
```hcl
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/saml_settings.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: "Configuration"
subcategory: "Deprecated"
---
# Artifactory SAML SSO Settings Resource

Expand All @@ -9,6 +9,8 @@ Only a single `artifactory_saml_settings` resource is meant to be defined.

~>The `artifactory_saml_settings` resource utilizes endpoints which are blocked/removed in SaaS environments (i.e. in Artifactory online), rendering this resource incompatible with Artifactory SaaS environments.

!>This resource is deprecated in favor of [platform_saml_settings](https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/saml_settings) resource in the Platform provider.

## Example Usage

```hcl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func ResourceArtifactorySamlSettings() *schema.Resource {
Description: `When set, an X.509 public certificate will be created by Artifactory. Download this certificate and upload it to your IDP and choose your own encryption algorithm. This process will let you encrypt the assertion section in your SAML response. Default value is "false".`,
},
},
DeprecationMessage: `This resource is deprecated in favor of "platform_saml_settings" (https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/saml_settings) resource in the Platform provider.`,
}
}

Expand Down

0 comments on commit 71d9a5b

Please sign in to comment.