terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
feat(hss/host_protection): support `is_wait_host_available` parameter
What this PR does / why we need it:
- Support
is_wait_host_available
parameter to control whether to wait for the host agent status to become online. -
enterprise_project_id
parameter add Computed attribute. - Update test cases.
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:
Release note:
PR Checklist
- [x] Tests added/passed.
- [x] Documentation updated.
- [x] Schema updated.
Acceptance Steps Performed
$ export HW_HSS_HOST_PROTECTION_HOST_ID=xxxxxxx
$ make testacc TEST="./huaweicloud/services/acceptance/hss" TESTARGS="-run TestAccHostProtection_basic"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/hss -v -run TestAccHostProtection_basic -timeout 360m -parallel 4
=== RUN TestAccHostProtection_basic
=== PAUSE TestAccHostProtection_basic
=== CONT TestAccHostProtection_basic
--- PASS: TestAccHostProtection_basic (269.41s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/hss 269.450s