fast-easter-23401
11/24/2021, 7:26 PMerror: Preview failed: importing <bucket-resource-name>/roles/storage.objectCreator: Wrong number of parts to Binding id [<bucket-resource-name>/roles/storage.objectCreator]; expected 'resource_name role [condition_title]'.
I tried so far with <bucket_name>
, b/<bucket_name>
, <project-id>/<bucket-name>
, and <project-id>/b/<bucket-name>
but I got the same error regardless. Any ideas?green-school-95910
11/24/2021, 7:34 PMfast-easter-23401
11/24/2021, 7:37 PMerror: Preview failed: Import is not yet implemented
green-school-95910
11/24/2021, 9:52 PMresource_name role [condition_title]
. The resource IAMBinding
is for one particular role of the bucket, there can be more than one IAMBinding
in the same bucket, so just the bucket name would cause a conflict.
Try this: b/<bucket_name> <role>
like b/my_bucket roles/storage.admin
IAMPolicy
fast-easter-23401
11/25/2021, 4:03 PMb/
the resource name), but got the same error. Rather than manage, I wish to ensure that the bindings are reflected in my code, so we can easily provision an equivalent environment using the config provided by TF.green-school-95910
11/25/2021, 4:04 PMb/
prefix alone, is the whitespace between the bucket name and the rolefast-easter-23401
11/25/2021, 4:05 PMgreen-school-95910
11/25/2021, 4:07 PM<id of parent> " " <role> [" " <condition title>]
in IETF-like grammar