Skip to content

xray_settings error #322

Open
Open
@peterdeames

Description

@peterdeames

I am running terraform to manage the xray setting and am getting an error

terraform {
required_version = ">= 0.12"
required_providers {
xray = {
source = "jfrog/xray"
version = ">=3.0.2"
}
}
backend "gcs" {
}
}

provider "xray" {
url = "${var.jfrog_url}/xray"
access_token = var.jfrog_token
}

resource "xray_settings" "db_sync" {
enabled = true
allow_blocked = false
allow_when_unavailable = true
block_unscanned_timeout = 120
block_unfinished_scans_timeout = 3600
db_sync_updates_time = "18:40"
}

JFrog Platform Enterprise Plus 7.98.13 rev 79813900 (Self-Hosted)

Terraform v1.11.4 on linux_amd64

provider registry.terraform.io/jfrog/xray v3.0.6

│ Error: Unable to Create Resource

│ with xray_settings.db_sync,
│ on main.tf line 59, in resource "xray_settings" "db_sync":
│ 59: resource "xray_settings" "db_sync" {

│ An unexpected error occurred while creating the resource update request.
│ Please report this issue to the provider developers.

│ Error:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions