FlexibleEngineCloud / provider-flexibleengine

Crossplane provider that exposes XRM-conformant managed resources for the FlexibleEngine API.
Apache License 2.0
10 stars 3 forks source link

feat: add cmd to check if all resources is implemented #153

Closed azrod closed 1 year ago

azrod commented 1 year ago

Description of your changes

Add new golang cmd to check if all resources is correctly implemented

How to use

go run cmd/resources/main.go

Checking resources
=====================================

* Found 196 resources in terraform provider
* Found 171 resources implemented in crossplace provider
* Found 18 resources ignored in crossplace provider

Total 189/196 resources implemented

> 4 resources are not implemented (Add resources to ExternalName):
    + flexibleengine_lb_certificate_v2
    + flexibleengine_vpc_eip_v1
    + flexibleengine_vpc_route_v2
    + flexibleengine_compute_floatingip_v2

> 8 resources are deprecated (Add resources in skipList):
    + flexibleengine_elb_listener
    + flexibleengine_rds_instance_v1
    + flexibleengine_drs_replication_v2
    + flexibleengine_networking_router_route_v2
    + flexibleengine_elb_health
    + flexibleengine_drs_replicationconsistencygroup_v2
    + flexibleengine_elb_backend
    + flexibleengine_elb_loadbalancer

> 5 resources are implemented and ignored:
    ? flexibleengine_cce_pvc
    ? flexibleengine_fgs_dependency
    ? flexibleengine_mrs_cluster_v1
    ? flexibleengine_mrs_job_v1
    ? flexibleengine_mrs_hybrid_cluster_v1
gaetanars commented 1 year ago

It's not really a feature for the provider but a tool around this. Maybe you can change your commit name?