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_abx_action` importable #34

Open davidfischer-ch opened 4 months ago

davidfischer-ch commented 4 months ago

See acceptance tests.

The import function should be changed to ask and use the project_id too.

ad6ac8-c6a0-8492-d24e-75b1b92a4ac2 tf_provider_addr=registry.terraform.io/hashicorp/aria tf_rpc=ApplyResourceChange
--- FAIL: TestAccABXActionResource (12.66s)
    abx_action_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: Cannot import non-existent remote object

        While attempting to import an existing object to "aria_abx_action.test", the
        provider detected that no object exists with the given id. Only pre-existing
        objects can be imported; check that the id is correct and that it is
        associated with the provider's configured region or endpoint, or use
        "terraform apply" to create a new remote object for this resource.