FlexibleEngineCloud / terraform-provider-flexibleengine

Terraform flexibleengine provider
https://www.terraform.io/docs/providers/flexibleengine/
Mozilla Public License 2.0
30 stars 53 forks source link

Resources marked deprecated #914

Closed azrod closed 1 year ago

azrod commented 1 year ago

The documentations of this resources indicate deprecated but the terraform schema does not specify this. Please add Deprecated in terraform schema

Affected Resource(s)

Terraform Version

v1.36.0

ShiChangkuo commented 1 year ago

@azrod I will check and fix the differences.

BTW, can you share how to find the differences between doc and schema?

azrod commented 1 year ago

For crossplane provider flexibleengine i have create a golang script for comparing the maps beetween terraform provider and crossplane provider and identify if all resources is implemented. This script compare two maps and check in terraform provider if the resource is deprectaed or not.

After first exec the script i'm returned 4 resources has not implemented. After manual checking i'm found difference beetween the doc and the schema.

For more information https://github.com/FrangipaneTeam/provider-flexibleengine/pull/153

ShiChangkuo commented 1 year ago

@azrod we ca not add DeprecationMessage filed for flexibleengine_vpc_eip_v1 because both flexibleengine_vpc_eip_v1 and flexibleengine_vpc_eip are defined by resourceVpcEIPV1.

other resources are fixed by #919