Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rename resources #231

Merged
merged 9 commits into from
Aug 29, 2019
34 changes: 17 additions & 17 deletions scaleway/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,23 +181,23 @@ func Provider() terraform.ResourceProvider {
},

ResourcesMap: map[string]*schema.Resource{
"scaleway_bucket": resourceScalewayBucket(),
"scaleway_compute_instance_ip": resourceScalewayComputeInstanceIP(),
"scaleway_compute_instance_volume": resourceScalewayComputeInstanceVolume(),
"scaleway_compute_instance_security_group": resourceScalewayComputeInstanceSecurityGroup(),
"scaleway_compute_instance_server": resourceScalewayComputeInstanceServer(),
"scaleway_compute_instance_placement_group": resourceScalewayComputeInstancePlacementGroup(),
"scaleway_storage_object_bucket": resourceScalewayStorageObjectBucket(),
"scaleway_user_data": resourceScalewayUserData(),
"scaleway_server": resourceScalewayServer(),
"scaleway_token": resourceScalewayToken(),
"scaleway_ssh_key": resourceScalewaySSHKey(),
"scaleway_ip": resourceScalewayIP(),
"scaleway_ip_reverse_dns": resourceScalewayIPReverseDNS(),
"scaleway_security_group": resourceScalewaySecurityGroup(),
"scaleway_security_group_rule": resourceScalewaySecurityGroupRule(),
"scaleway_volume": resourceScalewayVolume(),
"scaleway_volume_attachment": resourceScalewayVolumeAttachment(),
"scaleway_bucket": resourceScalewayBucket(),
"scaleway_instance_ip": resourceScalewayInstanceIP(),
"scaleway_instance_volume": resourceScalewayInstanceVolume(),
"scaleway_instance_security_group": resourceScalewayInstanceSecurityGroup(),
"scaleway_instance_server": resourceScalewayInstanceServer(),
"scaleway_instance_placement_group": resourceScalewayInstancePlacementGroup(),
"scaleway_object_bucket": resourceScalewayObjectBucket(),
"scaleway_user_data": resourceScalewayUserData(),
"scaleway_server": resourceScalewayServer(),
"scaleway_token": resourceScalewayToken(),
"scaleway_ssh_key": resourceScalewaySSHKey(),
"scaleway_ip": resourceScalewayIP(),
"scaleway_ip_reverse_dns": resourceScalewayIPReverseDNS(),
"scaleway_security_group": resourceScalewaySecurityGroup(),
"scaleway_security_group_rule": resourceScalewaySecurityGroupRule(),
"scaleway_volume": resourceScalewayVolume(),
"scaleway_volume_attachment": resourceScalewayVolumeAttachment(),
},

DataSourcesMap: map[string]*schema.Resource{
Expand Down
2 changes: 1 addition & 1 deletion scaleway/resource_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func resourceScalewayBucket() *schema.Resource {
return &schema.Resource{
DeprecationMessage: `This resource is deprecated and will be removed in the next major version.

Please use scaleway_storage_object_bucket instead.`,
Please use scaleway_object_bucket instead.`,

Create: resourceScalewayBucketCreate,
Read: resourceScalewayBucketRead,
Expand Down
117 changes: 0 additions & 117 deletions scaleway/resource_compute_instance_placement_group_test.go

This file was deleted.

Loading