terraform-provider-boundary
terraform-provider-boundary copied to clipboard
Error: no suitable auth method information found
I have the following provider declaration:
provider "boundary" {
addr = "https://${module.boundary.boundary_hostname}:9200"
recovery_kms_hcl = <<-EOF
kms "awskms" {
purpose = "recovery"
key_id = "global_root"
access_key = "${module.boundary.boundary_iam.id}"
secret_key = "${module.boundary.boundary_iam.secret}"
kms_key_id = "${module.boundary.kms_recovery_key.id}"
}
EOF
}
This will only work, if module.boundary
is applied beforehand.
addr
and kms
information is only known after module.boundary
is applied. I'm not sure why isn't the provider deferring the evaluation of these variables until they are known.
Can the boundary provider attempt to contact boundary server during run time?
We are also seeing this problem. As boundary doesn't support the IAM role chaining that we require for our environment, we are trying to pass the variables in from an external script