Skip to content

Commit ba41fc7

Browse files
committed
Changed the quota_rule resource name to not conatina CAPITAL letters
1 parent 8b055de commit ba41fc7

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

mmv1/products/netapp/VolumeQuotaRule.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ custom_code:
4444
# Skipping the sweeper since we need to sweep multiple regions
4545
exclude_sweeper: true
4646
examples:
47-
- name: 'netapp_volume_quotaRule_basic'
48-
primary_resource_id: 'test_quotaRule'
47+
- name: 'netapp_volume_quota_rule_basic'
48+
primary_resource_id: 'test_quota_rule'
4949
vars:
5050
volume_name: 'test-volume'
5151
pool_name: 'test-pool'
5252
network_name: 'test-network'
53-
quotaRule_name: 'testvolumequotaRule'
53+
quotaRule_name: 'testvolume-quotarule'
5454
test_vars_overrides:
5555
'network_name': 'acctest.BootstrapSharedServiceNetworkingConnection(t, "gcnv-network-config-1", acctest.ServiceNetworkWithParentService("netapp.servicenetworking.goog"))'
5656
parameters:

mmv1/third_party/terraform/services/netapp/resource_netapp_volume_quotaRule_test.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample_update(t *te
2828
Config: testAccNetappVolumeQuotaRule_netappVolumeQuotaRuleFull(context),
2929
},
3030
{
31-
ResourceName: "google_netapp_volume_quota_rule.test_quotaRule",
31+
ResourceName: "google_netapp_volume_quota_rule.test_quota_rule",
3232
ImportState: true,
3333
ImportStateVerify: true,
3434
ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels", "volume_name"},
@@ -37,7 +37,7 @@ func TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample_update(t *te
3737
Config: testAccNetappVolumeQuotaRule_netappVolumeQuotaRuleFull_update(context),
3838
},
3939
{
40-
ResourceName: "google_netapp_volume_quota_rule.test_quotaRule",
40+
ResourceName: "google_netapp_volume_quota_rule.test_quota_rule",
4141
ImportState: true,
4242
ImportStateVerify: true,
4343
ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels", "volume_name"},
@@ -65,42 +65,42 @@ resource "google_netapp_volume" "default" {
6565
protocols = ["NFSV3"]
6666
}
6767
68-
resource "google_netapp_volume_quota_rule" "test_default_user_quotaRule" {
68+
resource "google_netapp_volume_quota_rule" "test_default_user_quota_rule" {
6969
depends_on = [google_netapp_volume.default]
7070
location = google_netapp_volume.default.location
7171
volume_name = google_netapp_volume.default.name
72-
name = "testvolumequotaRule%{random_suffix}"
72+
name = "testvolumequotarule%{random_suffix}"
7373
description = "This is a test description"
7474
type = "DEFAULT_USER_QUOTA"
7575
disk_limit_mib = 15
7676
}
7777
78-
resource "google_netapp_volume_quota_rule" "test_default_group_quotaRule" {
78+
resource "google_netapp_volume_quota_rule" "test_default_group_quota_rule" {
7979
depends_on = [google_netapp_volume.default]
8080
location = google_netapp_volume.default.location
8181
volume_name = google_netapp_volume.default.name
82-
name = "testvolumequotaRule%{random_suffix}"
82+
name = "testvolumequotarule%{random_suffix}"
8383
description = "This is a test description"
8484
type = "DEFAULT_GROUP_QUOTA"
8585
disk_limit_mib = 20
8686
}
8787
88-
resource "google_netapp_volume_quota_rule" "test_individual_user_quotaRule" {
88+
resource "google_netapp_volume_quota_rule" "test_individual_user_quota_rule" {
8989
depends_on = [google_netapp_volume.default]
9090
location = google_netapp_volume.default.location
9191
volume_name = google_netapp_volume.default.name
92-
name = "testvolumequotaRule%{random_suffix}"
92+
name = "testvolumequotarule%{random_suffix}"
9393
description = "This is a test description"
9494
type = "INDIVIDUAL_USER_QUOTA"
9595
disk_limit_mib = 25
9696
target = "001"
9797
}
9898
99-
resource "google_netapp_volume_quota_rule" "test_individual_group_quotaRule" {
99+
resource "google_netapp_volume_quota_rule" "test_individual_group_quota_rule" {
100100
depends_on = [google_netapp_volume.default]
101101
location = google_netapp_volume.default.location
102102
volume_name = google_netapp_volume.default.name
103-
name = "testvolumequotaRule%{random_suffix}"
103+
name = "testvolumequotarule%{random_suffix}"
104104
description = "This is a test description"
105105
type = "INDIVIDUAL_GROUP_QUOTA"
106106
disk_limit_mib = 30
@@ -132,42 +132,42 @@ resource "google_netapp_volume" "default" {
132132
protocols = ["NFSV3"]
133133
}
134134
135-
resource "google_netapp_volume_quota_rule" "test_default_user_quotaRule" {
135+
resource "google_netapp_volume_quota_rule" "test_default_user_quota_rule" {
136136
depends_on = [google_netapp_volume.default]
137137
location = google_netapp_volume.default.location
138138
volume_name = google_netapp_volume.default.name
139-
name = "testvolumequotaRule%{random_suffix}"
139+
name = "testvolumequotarule%{random_suffix}"
140140
description = "This is a test description"
141141
type = "DEFAULT_USER_QUOTA"
142142
disk_limit_mib = 35
143143
}
144144
145-
resource "google_netapp_volume_quota_rule" "test_default_group_quotaRule" {
145+
resource "google_netapp_volume_quota_rule" "test_default_group_quota_rule" {
146146
depends_on = [google_netapp_volume.default]
147147
location = google_netapp_volume.default.location
148148
volume_name = google_netapp_volume.default.name
149-
name = "testvolumequotaRule%{random_suffix}"
149+
name = "testvolumequotarule%{random_suffix}"
150150
description = "This is a test description"
151151
type = "DEFAULT_GROUP_QUOTA"
152152
disk_limit_mib = 40
153153
}
154154
155-
resource "google_netapp_volume_quota_rule" "test_individual_user_quotaRule" {
155+
resource "google_netapp_volume_quota_rule" "test_individual_user_quota_rule" {
156156
depends_on = [google_netapp_volume.default]
157157
location = google_netapp_volume.default.location
158158
volume_name = google_netapp_volume.default.name
159-
name = "testvolumequotaRule%{random_suffix}"
159+
name = "testvolumequotarule%{random_suffix}"
160160
description = "This is a test description"
161161
type = "INDIVIDUAL_USER_QUOTA"
162162
disk_limit_mib = 45
163163
target = "001"
164164
}
165165
166-
resource "google_netapp_volume_quota_rule" "test_individual_group_quotaRule" {
166+
resource "google_netapp_volume_quota_rule" "test_individual_group_quota_rule" {
167167
depends_on = [google_netapp_volume.default]
168168
location = google_netapp_volume.default.location
169169
volume_name = google_netapp_volume.default.name
170-
name = "testvolumequotaRule%{random_suffix}"
170+
name = "testvolumequotarule%{random_suffix}"
171171
description = "This is a test description"
172172
type = "INDIVIDUAL_GROUP_QUOTA"
173173
disk_limit_mib = 50

0 commit comments

Comments
 (0)