Skip to content

Commit

Permalink
Add check_version attribute back
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Jun 19, 2024
1 parent d0aba0d commit c337039
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/platform/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type platformProviderModel struct {
AccessToken types.String `tfsdk:"access_token"`
MyJFrogAPIToken types.String `tfsdk:"myjfrog_api_token"`
OIDCProviderName types.String `tfsdk:"oidc_provider_name"`
CheckLicense types.Bool `tfsdk:"check_license"`
}

func NewProvider() func() provider.Provider {
Expand Down Expand Up @@ -244,6 +245,11 @@ func (p *PlatformProvider) Schema(ctx context.Context, req provider.SchemaReques
},
MarkdownDescription: "OIDC provider name. See [Configure an OIDC Integration](https://jfrog.com/help/r/jfrog-platform-administration-documentation/configure-an-oidc-integration) for more details.",
},
"check_license": schema.BoolAttribute{
Optional: true,
MarkdownDescription: "Toggle for pre-flight checking of Artifactory Pro and Enterprise license. Default to `true`.",
DeprecationMessage: "Remove this attribute from your provider configuration as it is no longer used and the attribute will be removed in the next major version of the provider.",
},
},
}
}

0 comments on commit c337039

Please sign in to comment.