GoogleCloudPlatform / professional-services

Common solutions and tools developed by Google Cloud's Professional Services team. This repository and its contents are not an officially supported Google product.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ipam-autopilot] possible gpg situation/missing instructions

vmcolaco opened this issue · comments

Hi,

using Cloud Shell, running the terraform provided in the infrastructure folder, I get an error, which I feel that may be because of a missing requisite, that I don't see documented:

google_project_iam_member.sql_client: Refreshing state... [id=projects/yadda-targetproject/roles/cloudsql.client/serviceAccount:ipam-autopilot-sa@yadda-targetproject.iam.gserviceaccount.com]

│ Error: Read local file data source error

│ with data.local_file.public_key,
│ on storage.tf line 50, in data "local_file" "public_key":
│ 50: data "local_file" "public_key" {

│ The file at given path cannot be read.

│ +Original Error: open ./public.key: no such file or directory

public.key file is there, but empty. So, not really sure what I'm missing here

Thanks

Ran gpg --generate-key and it advanced.

NOTE: got a new error gpg: signing failed: Inappropriate ioctl for device
so I ran export GPG_TTY=$(tty) to advance