Skip to content

Commit

Permalink
Merge pull request #114 from jfrog/deprecate_myjfrog_api_token
Browse files Browse the repository at this point in the history
Add deprecation message to 'myjfrog_api_token' provider config attribute
  • Loading branch information
alexhung committed Jul 19, 2024
2 parents d0c611e + 0c5458b commit a0d1e55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

NOTES:

* resource/platform_myjfrog_ip_allowlist is being deprecated and is moved to new [MyJFrog provider](https://registry.terraform.io/providers/jfrog/myjfrog/latest). Use the `myjfrog_ip_allowlist` resource there instead. PR: [#113](https://github.com/jfrog/terraform-provider-platform/pull/113)
* provider: Attribute `myjfrog_api_token` is being deprecated. Issue: [#99](https://github.com/jfrog/terraform-provider-platform/issues/99) PR: [#114](https://github.com/jfrog/terraform-provider-platform/pull/114)
* resource/platform_myjfrog_ip_allowlist is being deprecated and is moved to new [MyJFrog provider](https://registry.terraform.io/providers/jfrog/myjfrog/latest). Use the `myjfrog_ip_allowlist` resource there instead. Issue: [#99](https://github.com/jfrog/terraform-provider-platform/issues/99 PR: [#113](https://github.com/jfrog/terraform-provider-platform/pull/113)

## 1.9.0 (July 19, 2024). Tested on Artifactory 7.84.17 with Terraform 1.9.2 and OpenTofu 1.7.3

Expand Down
1 change: 1 addition & 0 deletions pkg/platform/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func (p *PlatformProvider) Schema(ctx context.Context, req provider.SchemaReques
stringvalidator.LengthAtLeast(1),
},
MarkdownDescription: "MyJFrog API token that allows you to make changes to your JFrog account. See [Generate a Token in MyJFrog](https://jfrog.com/help/r/jfrog-hosting-models-documentation/generate-a-token-in-myjfrog) for more details. This can also be sourced from the `JFROG_MYJFROG_API_TOKEN` environment variable.",
DeprecationMessage: "MyJFrog API token is deprecated. Use provider 'jfrog/myjfrog' https://registry.terraform.io/providers/jfrog/myjfrog instead.",
},
"oidc_provider_name": schema.StringAttribute{
Optional: true,
Expand Down

0 comments on commit a0d1e55

Please sign in to comment.