ClickHouse / terraform-provider-clickhouse

Terraform Provider for ClickHouse Cloud
Apache License 2.0
20 stars 7 forks source link

Refactoring of the code, better modularization and cleanup of unused … #107

Closed whites11 closed 1 month ago

whites11 commented 1 month ago

…stuff

I moved files around, with the goal of having a more standard structure for a go program. The structure is:


pkg:
  internal: # internal, unexported stuff
  provider: # the terraform provider code as defined [here](https://developer.hashicorp.com/terraform/plugin/framework#key-concepts) 
  datasource: # the terraform data source code as defined [here](https://developer.hashicorp.com/terraform/plugin/framework#key-concepts) 
  resource: # the terraform resources source code as defined [here](https://developer.hashicorp.com/terraform/plugin/framework#key-concepts) 

Also clarified the development process in the readme and removed some mock api backend code that I assume was unused