ably / terraform-provider-ably

Ably's Terraform Provider, enabling you to manage your Ably account programmatically.
https://registry.terraform.io/providers/ably/ably
Apache License 2.0
11 stars 2 forks source link

Refactor import code to one function #134

Closed Morganamilo closed 2 years ago

Morganamilo commented 2 years ago

There's more I'd like to do here. Some other resources have private fields that we need to also allow importing. I'd also ideally like to remove the need to specify app_id during import. In theory you don't need it at it's specified in the template. But during the read function you can't get the plan only the state.

For now this fixes #125 and tidies up the code a bit.