@@ -29,7 +29,7 @@ func TestAccScalewayContainerCron_Basic(t *testing.T) {
29
29
}
30
30
31
31
resource scaleway_container_cron main {
32
- name = "hello "
32
+ name = "tf-tests-container-cron-basic "
33
33
container_id = scaleway_container.main.id
34
34
schedule = "5 4 * * *" #cron at 04:05
35
35
args = jsonencode({test = "scw"})
@@ -39,7 +39,7 @@ func TestAccScalewayContainerCron_Basic(t *testing.T) {
39
39
testAccCheckScalewayContainerCronExists (tt , "scaleway_container_cron.main" ),
40
40
resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "schedule" , "5 4 * * *" ),
41
41
resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "args" , "{\" test\" :\" scw\" }" ),
42
- resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "name" , "hello " ),
42
+ resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "name" , "tf-tests-container-cron-basic " ),
43
43
),
44
44
},
45
45
{
@@ -53,7 +53,7 @@ func TestAccScalewayContainerCron_Basic(t *testing.T) {
53
53
}
54
54
55
55
resource scaleway_container_cron main {
56
- name = "salut "
56
+ name = "tf-tests-container-cron-basic-changed "
57
57
container_id = scaleway_container.main.id
58
58
schedule = "5 4 * * *" #cron at 04:05
59
59
args = jsonencode({test = "scw"})
@@ -63,7 +63,7 @@ func TestAccScalewayContainerCron_Basic(t *testing.T) {
63
63
testAccCheckScalewayContainerCronExists (tt , "scaleway_container_cron.main" ),
64
64
resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "schedule" , "5 4 * * *" ),
65
65
resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "args" , "{\" test\" :\" scw\" }" ),
66
- resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "name" , "salut " ),
66
+ resource .TestCheckResourceAttr ("scaleway_container_cron.main" , "name" , "tf-tests-container-cron-basic-changed " ),
67
67
),
68
68
},
69
69
},
0 commit comments