Skip to content

Commit

Permalink
feat: rename resources
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBrosse authored Aug 29, 2019
1 parent 2dadfd1 commit e389a1e
Show file tree
Hide file tree
Showing 43 changed files with 1,355 additions and 1,355 deletions.
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

0 comments on commit e389a1e

Please sign in to comment.