terraform-google-modules/terraform-google-gcloud

Add support for update command

ego93 opened this issue · 1 comments

ego93 commented

TL;DR

To have a update_cmd_body option when running commands that create can't be rerun when a resource already exists.

example use case: gcloud beta container backup-restore restore-plans ...

Terraform Resources

update_cmd_body

Detailed design

module "gcloud" {
  source  = "terraform-google-modules/gcloud/google"
  version = "~> 3.0"

  create_cmd_body  = "beta container backup-restore restore-plans create ..."
  update_cmd_body  = "beta container backup-restore restore-plans update ..."
  destroy_cmd_body = "beta container backup-restore restore-plans delete ..."

}

Additional information

No response

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days