dheeraj12347 opened a new pull request, #359:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/359

   ## Summary
   
   Fixes #358.
   
   Implemented import support for the following Plugin Framework resources:
   - `cloudstack_service_offering_fixed`
   - `cloudstack_service_offering_constrained`
   - `cloudstack_service_offering_unconstrained`
   
   Each resource now implements `resource.ResourceWithImportState` and uses 
`resource.ImportStatePassthroughID` to populate the `id` attribute from the 
import identifier. The existing `Read()` implementation can then retrieve the 
service offering by ID.
   
   Added import-state verification steps to the acceptance tests for all three 
resources.
   
   ## Testing
   
   - `go test ./cloudstack` — passed
   - `go test ./...` — passed
   - `git diff --check` — passed
   
   **Testing limitation:** I do not currently have access to a configured 
CloudStack environment, so I could not run the acceptance tests against a live 
CloudStack instance. The local Go test suite passes.


-- 
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]

Reply via email to