generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
Terraform Version
$ terraform version
Terraform v1.9.4-dev
on linux_amd64
+ provider registry.terraform.io/hashicorp/boundary v1.1.15
+ provider registry.terraform.io/hashicorp/http v3.4.3
Affected Resource(s)
boundary_alias_target
Terraform Configuration Files
resource "boundary_alias_target" "example_ssh" {
for_each = boundary_host_static.example_all
name = "ssh_alias_${each.key}"
description = ""
scope_id = "global"
value = "${each.key}.boundary"
destination_id = boundary_target.example_ssh.id
authorize_session_host_id = each.value.id
}
Debug Output
https://gist.github.com/the-maldridge/c0ef3c88a0a235d2680077315d206128
Panic Output
N/A
Expected Behavior
Terraform should have reconciled the authorize_session_id
for each alias in the set.
Actual Behavior
Terraform did not reconcile the host ID and instead the ID was left blank.
Steps to Reproduce
- Prepare a boundary environment. My test environment is currently v0.17.0+ent.
- Apply terraform to create scopes, host catalogs, host sets, and targets.
- Attempt to create aliases that are pinned to specific host IDs.
Important Factoids
My host sources are being dynamically interpolated to terraform via an API call to a remote DCIM provider, but are otherwise static.