Skip to content

Commit

Permalink
Merge pull request #1073 from jfrog/bump-to-v12
Browse files Browse the repository at this point in the history
Bump provider to v12 and remove deprecated resources
  • Loading branch information
alexhung authored Sep 16, 2024
2 parents 40f6de7 + 40d4b6b commit db384c0
Show file tree
Hide file tree
Showing 221 changed files with 472 additions and 3,048 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
BREAKING CHANGES:

* resource/artifactory_remote_\*\_repository: Fix mismatch between documentation and actual default vaule for `list_remote_folder_items` attribute. This will also match the change (default to `false`) introduced to the REST API in Artifactory v7.94.0. **Note:** Due to limitation of the Terraform SDKv2 framework, it is not possible to detect the attribute was not set and the state has the (previous) default value of `true`, then automaticaly upgrades it to `false`. Therefore this update will introduce state drift if this attribute is not set in your configuration. Use `terraform apply -refresh-only` to update your Terraform states to match. PR: [#1072](https://github.com/jfrog/terraform-provider-artifactory/pull/1072)
* provider: Removed deprecated `check_license` attribute. PR: [#1073](https://github.com/jfrog/terraform-provider-artifactory/pull/1073)
* resource/artifactory_access_token: Removed deprecated resource. PR: [#1073](https://github.com/jfrog/terraform-provider-artifactory/pull/1073)
* resource/artifactory_replication_config: Removed deprecated resource. PR: [#1073](https://github.com/jfrog/terraform-provider-artifactory/pull/1073)
* resource/artifactory_single_replication_config: Removed deprecated resource. PR: [#1073](https://github.com/jfrog/terraform-provider-artifactory/pull/1073)

## 11.9.2 (September 12, 2024). Tested on Artifactory 7.90.10 with Terraform 1.9.5 and OpenTofu 1.8.2

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Fetch the dependencies
FROM golang:1.21.4-alpine AS builder
FROM golang:1.22.7-alpine AS builder

RUN apk add --update ca-certificates git gcc g++ libc-dev
WORKDIR /src/
Expand All @@ -18,6 +18,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build


# Build the final image
FROM hashicorp/terraform:1.6.5
FROM hashicorp/terraform:1.9.5

COPY --from=builder /src/terraform-provider-artifactory /root/.terraform.d/plugins/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Releases

Current provider major release: **11.x**
Current provider major release: **12.x**

See [CHANGELOG.md](CHANGELOG.md) for full details

Expand Down Expand Up @@ -38,7 +38,7 @@ terraform {
required_providers {
artifactory = {
source = "jfrog/artifactory"
version = "11.8.0"
version = "12.0.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ terraform {
required_providers {
artifactory = {
source = "jfrog/artifactory"
version = "10.6.2"
version = "12.0.0"
}
}
}
Expand Down Expand Up @@ -123,7 +123,7 @@ terraform {
required_providers {
artifactory = {
source = "jfrog/artifactory"
version = "10.6.2"
version = "12.0.0"
}
}
}
Expand Down
198 changes: 0 additions & 198 deletions docs/resources/access_token.md

This file was deleted.

72 changes: 0 additions & 72 deletions docs/resources/replication_config.md

This file was deleted.

Loading

0 comments on commit db384c0

Please sign in to comment.