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
Describe the bug
Using a minimal configuration for HTTP Docker reverse proxy settings, Terraform will always create a diff on every plan, even when there are no changes.
On every plan after the first apply, Terraform will generate the following diff:
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
! update in-place
Terraform will perform the following actions:
# module.artifactory.platform_reverse_proxy.containers will be updated in-place
! resource "platform_reverse_proxy" "containers" {! http_port = -1 -> 80- internal_hostname = "artifacts.my-artifactory-domain.io" -> null- public_server_name = "artifacts.my-artifactory-domain.io" -> null! use_https = true -> false
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
The four settings are not required when using the embedded Tomcat reverse proxy, and as can be seen in the UI, they are not possible to change at all.
If I try to set them to what Terraform expect, just to get rid of the diff, it works for three of the config options, but the use_https option has some validation built in that makes it impossible to set without adding SSL settings as well (which are completely unnecessary).
Error: Missing Attribute Configuration
ssl_key_path must be configured when use_https is set to 'true'.
ssl_certificate_path must be configured when use_https is set to 'true'.
And if I set use_https to false, I'm back to getting a diff on every plan/apply.
Requirements for and issue
A description of the bug
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
Your version of artifactory (you can curl it at $host/artifactory/api/system/version
Your version of terraform
Your version of terraform provider
Expected behavior
There should be no diff when running the plan/apply a second time.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using a minimal configuration for HTTP Docker reverse proxy settings, Terraform will always create a diff on every plan, even when there are no changes.
Artifactory version: 7.98.9 rev 79809900 (self hosted)
Terraform version: 1.9.7
Terraform provider version: 1.18.2
Given this terraform config:
On every plan after the first apply, Terraform will generate the following diff:
The four settings are not required when using the embedded Tomcat reverse proxy, and as can be seen in the UI, they are not possible to change at all.
If I try to set them to what Terraform expect, just to get rid of the diff, it works for three of the config options, but the
use_https
option has some validation built in that makes it impossible to set without adding SSL settings as well (which are completely unnecessary).Example:
Results in:
And if I set
use_https
tofalse
, I'm back to getting a diff on every plan/apply.Requirements for and issue
curl
it at$host/artifactory/api/system/version
Expected behavior
There should be no diff when running the plan/apply a second time.
The text was updated successfully, but these errors were encountered: