terraform {
required_providers {
artifactory = {
source = "registry.terraform.io/jfrog/artifactory"
version = "6.16.0"
}
pipeline = {
source = "registry.terraform.io/jfrog/pipeline"
version = "1.1.0"
}
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
}
}
provider "pipeline" {
url = "${var.artifactory_url}"
check_license = true
access_token = xxx
resource "pipeline_project_integration" "test-integration" {
name = "test-integration"
project_id = 0
project = {
name = "test-project"
}
master_integration_id = 0
master_integration_name = "test-integration"
environments = ["DEV"]
is_internal = false
form_json_values {
label = "IsJFrogPipe"
value = "true"
}
}
pipeline_project_integration.test-integration: Creating...
╷
│ Error: Request cancelled
│
│ with pipeline_project_integration.test-integration,
│ on pipelines.tf line 1, in resource "pipeline_project_integration" "test-integration":
│ 1: resource "pipeline_project_integration" "test-integration" {
│
│ The plugin.(*GRPCProvider).ApplyResourceChange request was cancelled.
╵
╷
│ Error: Plugin did not respond
│
│ with pipeline_node_pool.on-demand-node-pool,
│ on pipelines.tf line 18, in resource "pipeline_node_pool" "on-demand-node-pool":
│ 18: resource "pipeline_node_pool" "on-demand-node-pool" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
╵
Releasing state lock. This may take a few moments...
Stack trace from the terraform-provider-pipeline_v1.1.0 plugin:
panic: interface conversion: interface {} is nil, not string
goroutine 48 [running]:
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline.pipelineProjectIntegrationResource.func1(0x140003086c8?, {0x101505623?, 0xb?})
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline/resource_pipeline_project_integration.go:128 +0xe8
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline.pipelineProjectIntegrationResource.func3(0x14000114580)
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline/resource_pipeline_project_integration.go:155 +0x148
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline.pipelineProjectIntegrationResource.func6({0x10179fb58, 0x14000300600}, 0x14000114580, {0x10178f580?, 0x140004f41e0?})
github.com/jfrog/terraform-provider-pipeline/pkg/pipeline/resource_pipeline_project_integration.go:200 +0xe4
github.com/jfrog/terraform-provider-shared/util.applyTelemetry.func1({0x10179fb58?, 0x14000300600}, 0x0?, {0x10178f580?, 0x140004f41e0})
github.com/jfrog/[email protected]/util/util.go:225 +0x1d4
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x140002aca80, {0x10179fb90, 0x14000080330}, 0xd?, {0x10178f580, 0x140004f41e0})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:707 +0xec
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x140002aca80, {0x10179fb90, 0x14000080330}, 0x14000241930, 0x14000114380, {0x10178f580, 0x140004f41e0})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0x874
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x140003fe5a0, {0x10179fae8?, 0x14000510580?}, 0x14000513770)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1021 +0xb94
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x140003910e0, {0x10179fb90?, 0x1400050d890?}, 0x14000153ce0)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:812 +0x38c
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x10176b080?, 0x140003910e0}, {0x10179fb90, 0x1400050d890}, 0x14000507ce0, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x174
google.golang.org/grpc.(*Server).processUnaryRPC(0x140002908c0, {0x1017a2530, 0x14000318820}, 0x140005cfb00, 0x140004125d0, 0x101c0e740, 0x0)
google.golang.org/[email protected]/server.go:1282 +0xb3c
google.golang.org/grpc.(*Server).handleStream(0x140002908c0, {0x1017a2530, 0x14000318820}, 0x140005cfb00, 0x0)
google.golang.org/[email protected]/server.go:1619 +0x840
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:921 +0x88
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:919 +0x298
Error: The terraform-provider-pipeline_v1.1.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
{
"version" : "7.41.4",
"revision" : "74104900"
}
}%
Terraform v1.3.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.43.0
+ provider registry.terraform.io/hashicorp/vault v3.11.0
+ provider registry.terraform.io/jfrog/artifactory v6.16.0
+ provider registry.terraform.io/jfrog/pipeline v1.1.0