boundary-reference-architecture
boundary-reference-architecture copied to clipboard
Error parsing KMS HCL: At 6:19: Unknown token: 6:19 IDENT file
I am trying to test the boundary high availability example for GCP; So I verified that the infrastructure is well deployed, and works.
But I have issues with the boundary configuration, i tried to pass directly the keys name and the keys path but I still have the same issue
provider "boundary" {
addr = var.url
recovery_kms_hcl = <<EOT
kms "gcpckms" {
purpose = "recovery"
key_ring = "${var.key_ring}"
crypto_key = ${var.recovery_key}"
project = "${var.gcp_project}"
credentials = file("/PATH to .json file")
region = "global"
}
EOT
}
ERROR
│ Error: error reading wrappers from "recovery_kms_hcl": Error parsing KMS HCL: At 6:19: Unknown token: 6:19 IDENT file
│
│ with provider["registry.terraform.io/hashicorp/boundary"],
│ on main.tf line 10, in provider "boundary":
│ 10: provider "boundary" {
│
``` bash
## VERSION
Terraform V1.0.0
Thanks for trying out this repo @MikaDiablo - this looks like it might be related to this issue. Are you running TF 12 or have recently upgraded?