╷
│ Error: Unable to Create Resource
│
│ with xray_repository_config.xray-repo-config-nuget-remote,
│ on nuget-artifact-repos.tf line 17, in resource "xray_repository_config" "xray-repo-config-nuget-remote":
│ 17: resource "xray_repository_config" "xray-repo-config-nuget-remote" {
│
│ An unexpected error occurred while creating the resource update request.
│ Please report this issue to the provider developers.
│
│ Error: {"error":"Request payload is invalid as exposure analysis config is
│ missing"}
[X] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
[X] Your version of Artifactory and Xray (you can curl Artifactory version at $host/artifactory/api/system/version and Xray version at
$host/xray/api/v1/system/version
[X] Your version of terraform
Expected behavior
I expect to be able to create a xray_repository_config for nuget repositories. For npm repositories it works as it is supposed to.
Describe the bug Creating a xray_repository_config for a nuget-remote repository with
fails with
Terraform version: 1.2.3 Xray Provider Version: 2.13.2 Artifactory Version: 7.100.2 revision: 80002900 Xray Version: 3.106.7 revision: 3fc2909
Requirements for and issue
curl
Artifactory version at$host/artifactory/api/system/version
and Xray version at$host/xray/api/v1/system/version
Expected behavior I expect to be able to create a xray_repository_config for nuget repositories. For npm repositories it works as it is supposed to.