brave-scientist-99340
07/20/2022, 8:55 PM@pulumi/google-native
I am getting the following change on a non-modified `artifactregistry/v1:Repository`:
~ name: "projects/***/locations/us/repositories/my-repo-822c5d8" => "projects/***/locations/us/repositories/my-repo-5637933"
(only the ID changes). When I apply it I get the following error:
google-native:artifactregistry/v1:Repository (***):
error: error sending request: googleapi: Error 400: Repository mode cannot be changed: "<https://artifactregistry.googleapis.com/v1/projects/***/locations/us/repositories/my-repo>" map[format:DOCKER name:projects/***/locations/us/repositories/my-repo-ee37a82]
Now this does not make sense to me because according to the GCP docs this name should just be projects/***/locations/us/repositories/my-repo
and not have any random ID suffix (also I am pretty sure its immutable).
Seems like a bug to me but I just wanted to check in if I missed something?polite-napkin-90098
07/20/2022, 9:02 PMbrave-scientist-99340
07/20/2022, 9:10 PMrepositoryId
is the source for the "name" of this resource.
Also, explicitly setting the name produces the same error 😕{ ignoreChanges: ["name"] }