terraform-provider-boundary icon indicating copy to clipboard operation
terraform-provider-boundary copied to clipboard

boundary_worker empty controller_generated_activation_token (HCP cloud)

Open dzirg44 opened this issue 1 year ago • 0 comments

Hi, I created a boundary controller in HCP Cloud and wanted to use it with self managed workers using terraform but for some reasons my controller_generated_activation_token is always empty string

Terraform Version

Terraform v1.5.5
on linux_amd64
+ provider registry.terraform.io/gavinbunney/kubectl v1.14.0
+ provider registry.terraform.io/hashicorp/archive v2.4.0
+ provider registry.terraform.io/hashicorp/aws v5.12.0
+ provider registry.terraform.io/hashicorp/boundary v1.1.9
+ provider registry.terraform.io/hashicorp/helm v2.10.1
+ provider registry.terraform.io/hashicorp/kubernetes v2.22.0
+ provider registry.terraform.io/hashicorp/local v2.4.0
+ provider registry.terraform.io/hashicorp/null v3.2.1
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/hashicorp/template v2.2.0
+ provider registry.terraform.io/hashicorp/tfe v0.48.0
+ provider registry.terraform.io/hashicorp/tls v4.0.4
+ provider registry.terraform.io/hashicorp/vault v3.19.0

Affected Resource(s)

  • boundary_worker

Terraform Configuration Files

resource "boundary_worker" "controller_led" {
  scope_id    = "global"
  name        = "test"
  description = "Test auto register worker"
}

output "boundary_worker_id" {
  value = boundary_worker.controller_led.id
}

output "boundary_worker_name" {
  value = boundary_worker.controller_led.name
}

output "boundary_worker_controller_generated_activation_token" {
  value = boundary_worker.controller_led.controller_generated_activation_token
}

Expected Behavior

controller_generated_activation_token should have a value

Actual Behavior

boundary_worker_controller_generated_activation_token = ""

Steps to Reproduce

  1. terraform apply

dzirg44 avatar Aug 13 '23 08:08 dzirg44