Eric Ma

03/27/2023, 8:52 PM
Does anyone know how to pass a secret to set as ENV when creating a dockerfile? I am trying to dockerize a selenium environment with google cloud storage. I have my gcs service account json in a secret block. But I keep getting this error
google.auth._default - Authentication failed using Compute Engine authentication due to unavailable metadata server.
but when I run the project outside of this docker container, it calls the prefect secret block perfectly fine
Anonymous caller does not have storage.objects.create access to the Google Cloud Storage object. Permission 'storage.objects.create' denied on resource (or it may not exist)., 401