Skip to content

Commit

Permalink
Make SFS exportable (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolsean authored May 10, 2021
1 parent ed4526a commit a78a3ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion huaweicloud/data_source_huaweicloud_sfs_file_system_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func dataSourceSFSFileSystemV2() *schema.Resource {
func DataSourceSFSFileSystemV2() *schema.Resource {
return &schema.Resource{
Read: dataSourceSFSFileSystemV2Read,

Expand Down
12 changes: 6 additions & 6 deletions huaweicloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_networking_secgroup": DataSourceNetworkingSecGroupV2(),
"huaweicloud_obs_bucket_object": DataSourceObsBucketObject(),
"huaweicloud_rds_flavors": dataSourceRdsFlavorV3(),
"huaweicloud_sfs_file_system": dataSourceSFSFileSystemV2(),
"huaweicloud_sfs_file_system": DataSourceSFSFileSystemV2(),
"huaweicloud_vbs_backup_policy": dataSourceVBSBackupPolicyV2(),
"huaweicloud_vbs_backup": dataSourceVBSBackupV2(),
"huaweicloud_vpc": DataSourceVirtualPrivateCloudVpcV1(),
Expand All @@ -314,7 +314,7 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_kms_key_v1": dataSourceKmsKeyV1(),
"huaweicloud_kms_data_key_v1": dataSourceKmsDataKeyV1(),
"huaweicloud_rds_flavors_v3": dataSourceRdsFlavorV3(),
"huaweicloud_sfs_file_system_v2": dataSourceSFSFileSystemV2(),
"huaweicloud_sfs_file_system_v2": DataSourceSFSFileSystemV2(),
"huaweicloud_vpc_v1": DataSourceVirtualPrivateCloudVpcV1(),
"huaweicloud_vpc_ids_v1": dataSourceVirtualPrivateCloudVpcIdsV1(),
"huaweicloud_vpc_peering_connection_v2": dataSourceVpcPeeringConnectionV2(),
Expand Down Expand Up @@ -452,8 +452,8 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_rds_instance": resourceRdsInstanceV3(),
"huaweicloud_rds_parametergroup": resourceRdsConfigurationV3(),
"huaweicloud_rds_read_replica_instance": resourceRdsReadReplicaInstance(),
"huaweicloud_sfs_access_rule": resourceSFSAccessRuleV2(),
"huaweicloud_sfs_file_system": resourceSFSFileSystemV2(),
"huaweicloud_sfs_access_rule": ResourceSFSAccessRuleV2(),
"huaweicloud_sfs_file_system": ResourceSFSFileSystemV2(),
"huaweicloud_sfs_turbo": ResourceSFSTurbo(),
"huaweicloud_smn_topic": resourceTopic(),
"huaweicloud_smn_subscription": resourceSubscription(),
Expand Down Expand Up @@ -515,8 +515,8 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_nat_gateway_v2": ResourceNatGatewayV2(),
"huaweicloud_nat_snat_rule_v2": ResourceNatSnatRuleV2(),
"huaweicloud_nat_dnat_rule_v2": ResourceNatDnatRuleV2(),
"huaweicloud_sfs_access_rule_v2": resourceSFSAccessRuleV2(),
"huaweicloud_sfs_file_system_v2": resourceSFSFileSystemV2(),
"huaweicloud_sfs_access_rule_v2": ResourceSFSAccessRuleV2(),
"huaweicloud_sfs_file_system_v2": ResourceSFSFileSystemV2(),
"huaweicloud_iam_agency": resourceIAMAgencyV3(),
"huaweicloud_iam_agency_v3": resourceIAMAgencyV3(),
"huaweicloud_vpc_v1": ResourceVirtualPrivateCloudV1(),
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud/resource_huaweicloud_sfs_access_rule_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/config"
)

func resourceSFSAccessRuleV2() *schema.Resource {
func ResourceSFSAccessRuleV2() *schema.Resource {
return &schema.Resource{
Create: resourceSFSAccessRuleV2Create,
Read: resourceSFSAccessRuleV2Read,
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud/resource_huaweicloud_sfs_file_system_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/utils"
)

func resourceSFSFileSystemV2() *schema.Resource {
func ResourceSFSFileSystemV2() *schema.Resource {
return &schema.Resource{
Create: resourceSFSFileSystemV2Create,
Read: resourceSFSFileSystemV2Read,
Expand Down

0 comments on commit a78a3ea

Please sign in to comment.