Description
Terraform Version
required_providers {
artifactory = {
source = "jfrog/artifactory"
version = "12.9.1"
}
project = {
source = "jfrog/project"
version = "1.9.3"
}
xray = {
source = "jfrog/xray"
version = "3.0.4"
}
platform = {
source = "jfrog/platform"
version = "2.2.1"
}
}
}
Terraform version 1.11.2
Terraform Configuration Files
###################################
###################################
# Global Policy
###################################
###################################
resource "xray_security_policy" "glob_pol_block_download" {
name = "glob_pol_block_download"
description = "policy for blocking downloads of packages with CVSS Score greater equal 7 and malicious packages"
type = "security"
rule {
name = "rule_block_download_cvss_ge_7"
priority = 1
criteria {
cvss_range {
from = 7
to = 10
}
}
actions {
notify_watch_recipients = false
block_download {
unscanned = true
active = true
}
}
}
rule {
name = "rule_block_download_malicious"
priority = 2
criteria {
malicious_package = true
}
actions {
notify_watch_recipients = false
block_download {
unscanned = true
active = true
}
}
}
}
Debug Output
2025-03-31T15:17:33.937Z [DEBUG] State storage *remote.State declined to persist a state snapshot
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.xray_security_policy.glob_pol_block_download": visit complete
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": starting visit (*terraform.nodeExpandOutput)
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.937Z [TRACE] Expanding output: adding module.rules_global_configuration.output.glob_pol_block_download_name as *terraform.NodeApplyableOutput
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name": starting visit (*terraform.NodeApplyableOutput)
2025-03-31T15:17:33.937Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name": belongs to module.rules_global_configuration
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/xray" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/xray" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/xray" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] setValue: Saving value for module.rules_global_configuration.output.glob_pol_block_download_name in state
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration.output.glob_pol_block_download_name (expand)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration (close)": starting visit (*terraform.nodeCloseModule)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration (close)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_global_configuration (close)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration (expand)": starting visit (*terraform.nodeExpandModule)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/xray" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/platform" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/artifactory" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/project" is in the global cache
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration (expand)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_password (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_password (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_plugin_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_plugin_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_plugin_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.rules_host (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_plugin_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.mvn_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.mvn_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.pypi_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.pypi_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.pypi_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.pypi_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.maven_plugin_repo_name (expand)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.developer_perm (expand)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.mvn_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.mvn_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.security_accountable_perm (expand)": visit complete
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": does not belong to any module instance
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": entering dynamic subgraph
2025-03-31T15:17:33.938Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.938Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.release_manager_perm (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_user (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.watched_repo_types (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.go_repo_name (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.project_release_viewer_perm (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.maintainer_perm (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.gradle_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.npm_repo_name (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.docker_repo_name (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.nuget_repo_name (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_password (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_password (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.abeq_proxy_password (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": starting visit (*terraform.nodeExpandModuleVariable)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": entering dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
2025-03-31T15:17:33.939Z [TRACE] vertex "root": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "root": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": dynamic subgraph completed successfully
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.glob_pol_block_download_name (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.var.team_config_data (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.project.team_project (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.project.team_project (expand)": does not belong to any module instance
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.project.team_project (expand)": expanding dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.project.team_project (expand)": produced no dynamic subgraph
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration.project.team_project (expand)": visit complete
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration[\"apps/pentest-test.json\"].project.team_project": starting visit (*terraform.NodeApplyableResourceInstance)
2025-03-31T15:17:33.939Z [TRACE] vertex "module.rules_process_team_configuration[\"apps/pentest-test.json\"].project.team_project": belongs to module.rules_process_team_configuration["apps/pentest-test.json"]
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/project" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] readDiff: Read Create change from plan for module.rules_process_team_configuration["apps/pentest-test.json"].project.team_project
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/project" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] readResourceInstanceState: reading state for module.rules_process_team_configuration["apps/pentest-test.json"].project.team_project
2025-03-31T15:17:33.939Z [TRACE] readResourceInstanceState: no state present for module.rules_process_team_configuration["apps/pentest-test.json"].project.team_project
2025-03-31T15:17:33.939Z [TRACE] readDiff: Read Create change from plan for module.rules_process_team_configuration["apps/pentest-test.json"].project.team_project
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/project" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/project" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/xray" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/platform" is in the global cache
2025-03-31T15:17:33.939Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/jfrog/artifactory" is in the global cache
2025-03-31T15:17:33.939Z [ERROR] vertex "module.rules_process_team_configuration[\"apps/pentest-test.json\"].project.team_project" panicked
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
panic: value for module.rules_process_team_configuration["apps/pentest-test.json"].var.team_config_data was requested before it was provided
goroutine 1116 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x5e
github.com/hashicorp/terraform/internal/logging.PanicHandler()
github.com/hashicorp/terraform/internal/logging/panic.go:84 +0x16a
panic({0x308df80?, 0xc00177c1f0?})
runtime/panic.go:785 +0x132
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1.1()
github.com/hashicorp/terraform/internal/terraform/graph.go:59 +0x4c5
panic({0x308df80?, 0xc00177c1f0?})
runtime/panic.go:785 +0x132
github.com/hashicorp/terraform/internal/namedvals.(*values[...]).GetExactResult(0x3ea4c00, {{0xc0009616c0, 0x1, 0x1}, {{}, {0xc000898db0, 0x10}}})
github.com/hashicorp/terraform/internal/namedvals/values.go:88 +0x1ee
github.com/hashicorp/terraform/internal/namedvals.(*State).GetInputVariableValue(0x31e2420?, {{0xc0009616c0, 0x1, 0x1}, {{}, {0xc000898db0, 0x10}}})
github.com/hashicorp/terraform/internal/namedvals/state.go:47 +0xe5
github.com/hashicorp/terraform/internal/terraform.(*evaluationStateData).GetInputVariable(0xc001c9b290, {{}, {0xc000898db0?, 0xbd2b07?}}, {{0xc000af2d40, 0x33}, {0x20, 0x27, 0x360}, {0x20, ...}})
github.com/hashicorp/terraform/internal/terraform/evaluate.go:294 +0x22e
github.com/hashicorp/terraform/internal/lang.(*Scope).evalContext(0xc001c9b320, {0xc001e44af8, 0x3, 0x3}, {0x0, 0x0})
github.com/hashicorp/terraform/internal/lang/eval.go:390 +0x1ce3
github.com/hashicorp/terraform/internal/lang.(*Scope).EvalContext(...)
github.com/hashicorp/terraform/internal/lang/eval.go:246
github.com/hashicorp/terraform/internal/lang.(*Scope).EvalBlock(0xc001c9b320, {0x3e820c8, 0xc001e7a050}, 0xc0012d9e60)
github.com/hashicorp/terraform/internal/lang/eval.go:59 +0xc5
github.com/hashicorp/terraform/internal/terraform.(*BuiltinEvalContext).EvaluateBlock(0x1?, {0x3e823f0, 0xc000cb0bb0}, 0xc0012d9e60, {0x0?, 0x0?}, {{{{0x0, 0x0}}, {0x0, 0x0}}, ...})
github.com/hashicorp/terraform/internal/terraform/eval_context_builtin.go:325 +0x145
github.com/hashicorp/terraform/internal/terraform.(*NodeAbstractResourceInstance).plan(0xc00174cd88, {0x3eaa780, 0xc001e0a500}, 0xc000988000, 0x0, 0x0, {0x0, 0x0, 0x0})
github.com/hashicorp/terraform/internal/terraform/node_resource_abstract_instance.go:821 +0xbcb
github.com/hashicorp/terraform/internal/terraform.(*NodeApplyableResourceInstance).managedResourceExecute(0xc0013ccb70, {0x3eaa780, 0xc001e0a500})
github.com/hashicorp/terraform/internal/terraform/node_resource_apply_instance.go:268 +0xa9a
github.com/hashicorp/terraform/internal/terraform.(*NodeApplyableResourceInstance).Execute(0x3e700d0?, {0x3eaa780?, 0xc001e0a500?}, 0x50?)
github.com/hashicorp/terraform/internal/terraform/node_resource_apply_instance.go:123 +0x99
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc00083c2c0, {0x3eaa780, 0xc001e0a500}, {0x7f58c463e850, 0xc0013ccb70})
github.com/hashicorp/terraform/internal/terraform/graph_walk_context.go:161 +0xb5
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x37676a0, 0xc0013ccb70})
github.com/hashicorp/terraform/internal/terraform/graph.go:143 +0x7c3
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc000f52a20, {0x37676a0, 0xc0013ccb70}, 0xc00111f240)
github.com/hashicorp/terraform/internal/dag/walk.go:384 +0x2d1
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update in goroutine 138
github.com/hashicorp/terraform/internal/dag/walk.go:307 +0xfb3
section_end:1743434254:step_script
�[0Ksection_start:1743434254:cleanup_file_variables
�[0K�[0K�[36;1mCleaning up project directory and file based variables�[0;m�[0;m
section_end:1743434255:cleanup_file_variables
�[0K�[31;1mERROR: Job failed: exit code 11
�[0;
Expected Behavior
Hello Terraform Support Team,
I am encountering a critical issue where Terraform crashes when attempting to redeploy my infrastructure after performing a destroy operation. The initial deployment proceeds without any issues, but subsequent destroy and redeploy actions result in a crash with a panic error.
Steps to Reproduce:
Initial Deployment:
Run terraform init to initialize the Terraform configuration.
Execute terraform apply to deploy the infrastructure.
The deployment completes successfully.
Destroy Infrastructure:
Run terraform destroy to remove the deployed infrastructure.
The destroy operation completes without errors.
Redeploy Infrastructure:
Execute terraform apply again to redeploy the infrastructure.
Terraform crashes during this step with the error detailed below.
Expected Behavior:
After destroying the infrastructure, running terraform apply should redeploy the resources successfully, just like the initial deployment.
Actual Behavior
During the redeployment, Terraform crashes with the following error message:
panic: value for module.rules_process_team_configuration["apps/pentest-test.json"].var.team_config_data was requested before it was provided
goroutine 1116 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x5e
github.com/hashicorp/terraform/internal/logging.PanicHandler()
github.com/hashicorp/terraform/internal/logging/panic.go:84 +0x16a
panic({0x308df80?, 0xc00177c1f0?})
runtime/panic.go:785 +0x132
...
!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
panic: value for module.rules_process_team_configuration["apps/pentest-test.json"].var.team_config_data was requested before it was provided
...
Steps to Reproduce
terraform init
terraform plan
terraform deploy
terraform apply
Additional Context
No response
References
No response
Generative AI / LLM assisted development?
No response