Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boundary_worker empty controller_generated_activation_token (HCP cloud) #437

Open
dzirg44 opened this issue Aug 13, 2023 · 0 comments
Open
Assignees
Labels

Comments

@dzirg44
Copy link

dzirg44 commented Aug 13, 2023

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
@psekar psekar self-assigned this Nov 15, 2023
@psekar psekar added the triage label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants