Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage bucket object holds #6022

Closed

Comments

@matthias-froomle
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

I'm trying to set a hold on a bucket object as documented in the Google docs but I am unable to find information about this in the provider
docs.
I'm expecting this either as a block inside the google_storage_bucket_object resource or as a separate resource.

New or Affected Resource(s)

  • google_storage_bucket_object / google_storage_bucket_object_hold

Potential Terraform Configuration

resource "google_storage_bucket_object" "picture" {
  name   = "butterfly01"
  source = "/images/nature/garden-tiger-moth.jpg"
  bucket = "image-store"

  hold {
    type = "temp" or "event"

  }
}

resource "google_storage_bucket_object_hold" "picture_hold" {
  name   = "picture_hold"
  object = google_storage_bucket_object.picture.self_link 
  type   = "temp" or "event"
}

References

@ghost ghost added the enhancement label Apr 1, 2020
@danawillow danawillow added this to the Goals milestone Apr 6, 2020
@jaceq
Copy link
Contributor

jaceq commented Mar 22, 2021

Any update on this? It's been almost a year...

@github-actions
Copy link

github-actions bot commented Aug 1, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.