terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
feat(aad/rules): add new forward rule resource
What this PR does / why we need it: Support the new forward rule resource for the Advanced Anti-DDoS.
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:
1. support forward rule resource for the Advanced Anti-DDoS.
2. support the related ducument and acc test.
PR Checklist
- [x] Tests added/passed.
- [x] Documentation updated.
- [x] Schema updated.
Acceptance Steps Performed
make testacc TEST='./huaweicloud/services/acceptance/aad' TESTARGS='-run=TestAccForwardRule_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/aad -v -run=TestAccForwardRule_basic -timeout 360m -parallel 4
=== RUN TestAccForwardRule_basic
=== PAUSE TestAccForwardRule_basic
=== CONT TestAccForwardRule_basic
--- PASS: TestAccForwardRule_basic (19.45s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/aad 19.582s