gcs-resource
gcs-resource copied to clipboard
400 error
I am receiving the following error message when trying to use the put step:
1.86 MiB / 1.86 MiB [===================================] 100.00% 4.17 MiB/s 0s
error running command: googleapi: Error 400: Required, required
Here is my configuration:
- name: m2-bucket
type: google-cloud-storage
source:
regex: m2_tar/m2/m2.tar.gz
bucket: {{bucket_name}}
json_key: {{bucket_private_key}}
- name: google-cloud-storage
type: docker-image
source:
repository: frodenas/gcs-resource
- put: m2-bucket
params:
file: ./m2_tar/m2/m2.tar.gz
Any ideas on what could be wrong? Thank you in advance!
I also tried the demo found here and the same error was generated.
We are running on concourse version: v4.2.1
This happens most likely because the bucket does not exist. Have you checked if the bucker is there and that the {{bucket_name}} interpolation is working?