@@ -70,6 +70,7 @@ func TestAccCloudStackSnapshotPolicy_hourly(t *testing.T) {
7070 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.hourly" , "schedule" , "0" ),
7171 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.hourly" , "timezone" , "UTC" ),
7272 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.hourly" , "custom_id" , "test-hourly" ),
73+ resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.hourly" , "tags.%" , "0" ),
7374 ),
7475 },
7576 },
@@ -119,6 +120,7 @@ func TestAccCloudStackSnapshotPolicy_weekly(t *testing.T) {
119120 testAccCheckCloudStackSnapshotPolicyExists ("cloudstack_snapshot_policy.weekly" , & snapshotPolicy ),
120121 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.weekly" , "interval_type" , "WEEKLY" ),
121122 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.weekly" , "schedule" , "1:03:00" ),
123+ resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.weekly" , "tags.%" , "0" ),
122124 ),
123125 },
124126 },
@@ -139,6 +141,7 @@ func TestAccCloudStackSnapshotPolicy_monthly(t *testing.T) {
139141 testAccCheckCloudStackSnapshotPolicyExists ("cloudstack_snapshot_policy.monthly" , & snapshotPolicy ),
140142 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.monthly" , "interval_type" , "MONTHLY" ),
141143 resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.monthly" , "schedule" , "15:01:00" ),
144+ resource .TestCheckResourceAttr ("cloudstack_snapshot_policy.monthly" , "tags.%" , "0" ),
142145 ),
143146 },
144147 },
@@ -351,8 +354,6 @@ resource "cloudstack_snapshot_policy" "hourly" {
351354 timezone = "UTC"
352355 zone_ids = [data.cloudstack_zone.zone.id]
353356 custom_id = "test-hourly"
354-
355- tags = {}
356357}
357358`
358359
@@ -403,8 +404,6 @@ resource "cloudstack_snapshot_policy" "weekly" {
403404 schedule = "1:03:00" # Monday at 3:00 AM
404405 timezone = "UTC"
405406 zone_ids = [data.cloudstack_zone.zone.id]
406-
407- tags = {}
408407}
409408`
410409
@@ -455,7 +454,5 @@ resource "cloudstack_snapshot_policy" "monthly" {
455454 schedule = "15:01:00" # 15th day at 1:00 AM
456455 timezone = "UTC"
457456 zone_ids = [data.cloudstack_zone.zone.id]
458-
459- tags = {}
460457}
461458`
0 commit comments