terraformer icon indicating copy to clipboard operation
terraformer copied to clipboard

aws kms import is empty

Open botscholar-scott opened this issue 6 months ago • 1 comments

When running,

terraformer import aws --resources=kms --regions="us-east-1" --compact --profile="<my_aws_profile>" --verbose 2>&1 | tee kms.out

it fails to produce an outputs.tf in the ./generated/aws/kms folder and the output shows the following at the end,

2025/08/05 10:40:28 aws importing... kms
2025/08/05 10:40:30 aws done importing kms
2025/08/05 10:40:30 Number of resources for service kms: 0
2025/08/05 10:40:30 aws Connecting....
2025/08/05 10:40:30 aws save kms
2025/08/05 10:40:30 aws save tfstate for kms
2025-08-05T10:40:30.513-0700 [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-08-05T10:40:30.524-0700 [INFO]  plugin: plugin process exited: path=/Users/scottrankin/.terraform.d/plugins/darwin_arm64/terraform-provider-aws_v6.6.0_x5 pid=87750
2025-08-05T10:40:30.524-0700 [DEBUG] plugin: plugin exited

We definitely have kms resources. Any suggestions or thoughts?

botscholar-scott avatar Aug 05 '25 18:08 botscholar-scott

Also seeing the same EOF on plugin.stdio for api_gateway as well.

botscholar-scott avatar Aug 05 '25 18:08 botscholar-scott