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
google_dataform_repository dosen't have "force" argument.
Without "force", on delete, the request will only succeed if the repository has no child resources.
That is, "force needs to be included for any child resources of the repository will also be deleted.
New or Affected Resource(s)
google_dataform_repository
Potential Terraform Configuration
It can look like this (differes from Dataform API but matches GSC force_delete):
resource "google_dataform_repository" "dataform_respository" {
name = local.dataform_repository_name
project = var.gcp_project_id
region = var.gcp_project_region
force_delete = true
}
Community Note
Description
google_dataform_repository dosen't have "force" argument. Without "force", on delete, the request will only succeed if the repository has no child resources.
That is, "force needs to be included for any child resources of the repository will also be deleted.
New or Affected Resource(s)
google_dataform_repository
Potential Terraform Configuration
It can look like this (differes from Dataform API but matches GSC force_delete):
References
This seems to be supported by API
https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/delete
0000
b/305278187