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

Error parsing KMS HCL: At 6:19: Unknown token: 6:19 IDENT file #58

Open
MikaDiablo opened this issue Oct 4, 2021 · 1 comment
Open
Labels
question Further information is requested

Comments

@MikaDiablo
Copy link

MikaDiablo commented Oct 4, 2021

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
@malnick
Copy link
Collaborator

malnick commented Oct 12, 2021

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?

@malnick malnick added the question Further information is requested label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants