davidfischer-ch / terraform-provider-aria

This is a Terraform provider for working with VMware's Aria Automation Platform (unofficial).
Mozilla Public License 2.0
3 stars 0 forks source link

Make `aria_custom_resource` importable #33

Open davidfischer-ch opened 3 months ago

davidfischer-ch commented 3 months ago

See acceptance tests.

2024-07-15T09:50:34.020+0200 [DEBUG] aria: Deleted ABX Action 8a7480538f3b51b10190b55efa881fd8 (Custom.AriaProviderTest.read) project 2e34b115-dd18-48b3-a6af-f794469e5e0d successfully: tf_req_id=ab7bfeba-d8ee-74c1-0d6a-44200060d1d6 tf_resource_type=aria_abx_action tf_provider_addr=registry.terraform.io/hashicorp/aria tf_rpc=ApplyResourceChange
--- FAIL: TestAccCustomResourceResource (18.10s)
    custom_resource_resource_test.go:13: Step 3/3 error running import: exit status 1
        There are some problems with the CLI configuration:
        ╷
        │ Warning: Unable to open CLI configuration file
        │
        │ The CLI configuration file at "../terraform.rc" does not exist.
        ╵

        Error: Value Conversion Error

        An unexpected error was encountered trying to build a value. This is always
        an error in the provider. Please report the following to the provider
        developer:

        Received null value, however the target type cannot handle null values. Use
        the corresponding `types` package type, a pointer type or a custom type that
        handles null values.

        Path: create
        Target Type: provider.ResourceActionRunnableModel
        Suggested `types` Type: basetypes.ObjectValue
        Suggested Pointer Type: *provider.ResourceActionRunnableModel