-
Notifications
You must be signed in to change notification settings - Fork 21
Bucket resource fails #12
Comments
Looks like we are configuring bucket external name incorrectly: https://github.com/crossplane-contrib/provider-jet-gcp/blob/main/config/storage/config.go#L25 id field for bucket is set as bucket name only not |
☝️ is one issue, however, it didn't fix the problem here. Tried with terraform cli only and it hangs with:
I am wondering if this is something specific to refreshing a non-existing bucket 🤔 |
By enabling debug logging I got more information. It looks like, different than other resources, with @muvaf @ulucinar have you ever observed such a behavior?
|
Hmm this looks related: hashicorp/terraform-provider-google#10423 |
Just wondering, what would it take to copy controller implementation of |
…contrib#12 Signed-off-by: Hasan Turken <[email protected]>
Just opened #16 as a workaround.
I don't think we should make a change in core terrajet if there are no other cases that this could be helpful though. |
@muvaf with this resource being alpha, I believe we could live with the workaround until terraform fixes the issue. However, we can also use this issue as an opportunity to experiment that as an option to tackle these kinds of issues in the future. |
Opened a fix on terraform (magic-modules/terraform) side: GoogleCloudPlatform/magic-modules#5542 |
Workaround for this issue is to add the following annotation as in the provided example.
|
Fixes crossplane-contrib#12 Signed-off-by: Hasan Turken <[email protected]>
Fixes crossplane-contrib#12 Signed-off-by: Hasan Turken <[email protected]>
What happened?
Trying to create a bucket resource with the provided example does not work. It waits for a while and eventually fails with:
With the same credentials and provider config, the instance example works. So, it is not a provider configuration issue.
Related slack discussion: https://crossplane.slack.com/archives/C01718T2476/p1638544968409900
How can we reproduce it?
Try to create an example bucket using manifest under examples dir.
What environment did it happen in?
Crossplane version: v1.5.0
Provider version: v0.1.0
The text was updated successfully, but these errors were encountered: