touljaboy commented on PR #362:
URL:
https://github.com/apache/cloudstack-terraform-provider/pull/362#issuecomment-7311384325
Addressed the copilot review feedback in 2fdaab4 / fbe976d. Additional
testing done for these fixes:
- `TestAccCloudStackNetwork_importAccount` (new): imports a network owned by
an
account in a non-root child domain by ID only, against the Simulator. To
make
sure this test actually proves something, I temporarily removed the
`WithListall(true)` fix and reran it - it failed as expected (import came
back
empty). Re-applied the fix and it passed.
- Re-ran `terraform apply`/`plan` against real infra with
`account`/`domain_id`
already matching the network's existing real owner. Confirmed `plan` now
shows
"No changes" instead of forcing a replacement (the bug #4 described).
- Verified the upgrade path: created a network with the released 0.7.0
provider
(no knowledge of `account`/`domain_id` in state at all), then pointed
`dev_overrides` at this patched build and ran `plan` ->
`account`/`domain_id`
get populated with no forced replacement.
- `go build ./...` and `go vet ./cloudstack/...` pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]