You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,14 @@
1
+
## 9.0.0 (Sep 15, 2023). Tested on Artifactory 7.68.7 with Terraform CLI v1.5.7
2
+
3
+
IMPROVEMENTS:
4
+
* resource/artifactory_\*\_repository: remove default value of "default" from `project_key` attribute. This is a REST API bug fix that is part of Artifactory v7.68.7 (self-hosted) and v7.67.0 (cloud). Existing Terraform state with "default" value should be automatically migrated to "" on `terraform apply`. No state drift should occurs on `terraform plan`. Issue: [#779](https://github.com/jfrog/terraform-provider-artifactory/issues/779)
* Add multiple users and groups HCL example for `artifactory_permission_target` resource. Issue: [#800](https://github.com/jfrog/terraform-provider-artifactory/pull/800)
## 8.9.1 (Sep 11, 2023). Tested on Artifactory 7.63.14 with Terraform CLI v1.5.7
11
+
2
12
BUG FIX:
3
13
* resource/artifactory_local_\*\_repository, resource/artifactory_remote_\*\_repository, resource/artifactory_virtual_\*\_repository, resource/artifactory_federated_\*\_repository: fix unable to set `description` and `notes` attributes with empty text.
Copy file name to clipboardExpand all lines: docs/resources/local.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,7 @@ The following arguments are supported:
24
24
contain spaces or special characters.
25
25
*`description` - (Optional)
26
26
*`notes` - (Optional)
27
-
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters.
28
-
When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
29
-
We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider
30
-
to manage the list of repositories. Default value - `default`.
27
+
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider to manage the list of repositories.
31
28
*`project_environments` - (Optional) Project environment for assigning this repository to. Allow values: `DEV` or `PROD`.
32
29
Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 onward, only one value is allowed.
33
30
The attribute should only be used if the repository is already assigned to the existing project.
Copy file name to clipboardExpand all lines: docs/resources/remote.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,7 @@ All generic repo arguments are supported, in addition to:
37
37
*`key` - (Required) A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
38
38
*`description` - (Optional) Public description.
39
39
*`notes` - (Optional) Internal description.
40
-
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters.
41
-
When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
42
-
We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider
43
-
to manage the list of repositories. Default value - `default`.
40
+
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider to manage the list of repositories.
44
41
*`project_environments` - (Optional) Project environment for assigning this repository to. Allow values: `DEV` or `PROD`.
45
42
Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 onward, only one value is allowed.
46
43
The attribute should only be used if the repository is already assigned to the existing project.
@@ -68,7 +65,7 @@ All generic repo arguments are supported, in addition to:
68
65
*`assumed_offline_period_secs` - (Optional, Default: `300`) The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
69
66
*`share_configuration` - (Optional) The attribute is 'Computed', so it's not managed by the Provider. There is no corresponding field in the UI, but the attribute is returned by Get.
70
67
*`synchronize_properties` - (Optional, Default: `false`) When set, remote artifacts are fetched along with their properties.
71
-
*`block_mismatching_mime_types` - (Optional, Default: `true`) Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request. Note: dafault value in the UI is `true`, but it is `false` if the repo was created using the API call. We are copying the UI behavior.
68
+
*`block_mismatching_mime_types` - (Optional, Default: `true`) If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list `mismatching_mime_types_override_list`.
72
69
*`mismatching_mime_types_override_list` - (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg: "application/json,application/xml". Default value is empty.
73
70
*`property_sets` - (Optional) List of property set names.
74
71
*`allow_any_host_auth` - (Optional, Default: `false`) Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
Copy file name to clipboardExpand all lines: docs/resources/virtual.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,7 @@ The following arguments are supported:
28
28
*`key` - (Required) A mandatory identifier for the repository that must be unique. It cannot begin with a number or
29
29
contain spaces or special characters.
30
30
*`repositories` - (Optional) The effective list of actual repositories included in this virtual repository.
31
-
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters.
32
-
When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
33
-
We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider
34
-
to manage the list of repositories. Default value - `default`.
31
+
*`project_key` - (Optional) Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. We don't recommend using this attribute to assign the repository to the project. Use the `repos` attribute in Project provider to manage the list of repositories.
35
32
*`project_environments` - (Optional) Project environment for assigning this repository to. Allow values: `DEV` or `PROD`.
36
33
Before Artifactory 7.53.1, up to 2 values (`DEV` and `PROD`) are allowed. From 7.53.1 onward, only one value is allowed.
37
34
The attribute should only be used if the repository is already assigned to the existing project.
@@ -35,7 +33,6 @@ var BaseRepoSchema = map[string]*schema.Schema{
35
33
"project_key": {
36
34
Type: schema.TypeString,
37
35
Optional: true,
38
-
Default: "default",
39
36
ValidateDiagFunc: validator.ProjectKey,
40
37
Description: "Project key for assigning this repository to. Must be 2 - 20 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.",
0 commit comments