huaweicloud / terraform-provider-huaweicloud

Terraform HuaweiCloud provider
https://www.terraform.io/docs/providers/huaweicloud/
Mozilla Public License 2.0
213 stars 160 forks source link

feat(ims/image_export): support image export resource #5564

Closed jinyangyang222 closed 1 month ago

jinyangyang222 commented 1 month ago

What this PR does / why we need it:

Support image export resource

Which issue this PR fixes: (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged) fixes #xxx

Special notes for your reviewer:

  1. Support image export resource.
  2. One time operation resource, without checkDeleted logic.

Release note:


Support image export resource

PR Checklist

$ export HW_IMS_IMAGE_URL=xxxxxxxxxx

$ make testacc TEST="./huaweicloud/services/acceptance/ims" TESTARGS="-run TestAccImageExport_"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/ims -v -run TestAccImageExport_ -timeout 360m -parallel 4
=== RUN   TestAccImageExport_basic
=== PAUSE TestAccImageExport_basic
=== RUN   TestAccImageExport_with_isQuickExport
=== PAUSE TestAccImageExport_with_isQuickExport
=== CONT  TestAccImageExport_basic
=== CONT  TestAccImageExport_with_isQuickExport
--- PASS: TestAccImageExport_with_isQuickExport (501.90s)
--- PASS: TestAccImageExport_basic (679.92s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/ims       679.974s
deer-hang commented 1 month ago

/approve /lgtm