Error: "error reading wrappers from "recovery_kms_hcl": Error configuring kms:........ "

Hi, I am trying to get an infrastructure running on AWS so I tried to follow the steps here boundary-reference-architecture/deployment/aws at main · hashicorp/boundary-reference-architecture · GitHub.

At the point of terraform apply, I got the error below:
Error: error reading wrappers from "recovery_kms_hcl": Error configuring kms: error fetching AWS KMS wrapping key information: NotFoundException: Key 'arn:aws:kms:us-west-2:977076650775:key/8b90bde4-4325-46ff-9298-017fe740b93b' does not exist

What can I do to stop this from happening and still create my infrastructure?

I am having the same issue… I noticed you may have figured it out based on your comment here? Boundary provider needs assume_role · Issue #62 · hashicorp/terraform-provider-boundary · GitHub

Hey Samuel, Did you find the fix for this issue?, i’m having the exact same problem and i don’t quite understand @rileytg answer

NVM i found the issue on github:

Basically if your AWS CLI is using profiles, set your AWS_PROFILE to the correct one.
If not, set your AWS_REGION to the correspondent one.