@@ -27,14 +27,23 @@ func TestAccArchiveFile_Basic(t *testing.T) {
27
27
testAccArchiveFileExists (f , & fileSize ),
28
28
r .TestCheckResourceAttrPtr ("data.archive_file.foo" , "output_size" , & fileSize ),
29
29
30
+ r .TestCheckResourceAttr (
31
+ "data.archive_file.foo" , "output_md5" , "ea35f0444ea9a3d5641d8760bc2815cc" ,
32
+ ),
33
+ r .TestCheckResourceAttr (
34
+ "data.archive_file.foo" , "output_sha" , "019c79c4dc14dbe1edb3e467b2de6a6aad148717" ,
35
+ ),
36
+ r .TestCheckResourceAttr (
37
+ "data.archive_file.foo" , "output_sha256" , "3fb55c931a048943b8d7558dde7c2e4bfc8e04be33b1b55691053d1352391fa7" ,
38
+ ),
30
39
r .TestCheckResourceAttr (
31
40
"data.archive_file.foo" , "output_base64sha256" , "P7VckxoEiUO411WN3nwuS/yOBL4zsbVWkQU9E1I5H6c=" ,
32
41
),
33
42
r .TestCheckResourceAttr (
34
- "data.archive_file.foo" , "output_md5 " , "ea35f0444ea9a3d5641d8760bc2815cc " ,
43
+ "data.archive_file.foo" , "output_sha512 " , "57e2d073dce214609bd61113b90b0b2b7c75034047224d56e35f363c8f2662e3acd561eebf94826a67453411181eca7e1cbf15db1f2fdd496cf13df46b7848c3 " ,
35
44
),
36
45
r .TestCheckResourceAttr (
37
- "data.archive_file.foo" , "output_sha " , "019c79c4dc14dbe1edb3e467b2de6a6aad148717 " ,
46
+ "data.archive_file.foo" , "output_base64sha512 " , "V+LQc9ziFGCb1hETuQsLK3x1A0BHIk1W4182PI8mYuOs1WHuv5SCamdFNBEYHsp+HL8V2x8v3Uls8T30a3hIww== " ,
38
47
),
39
48
),
40
49
},
@@ -43,14 +52,23 @@ func TestAccArchiveFile_Basic(t *testing.T) {
43
52
Check : r .ComposeTestCheckFunc (
44
53
testAccArchiveFileExists (f , & fileSize ),
45
54
r .TestCheckResourceAttrPtr ("data.archive_file.foo" , "output_size" , & fileSize ),
55
+ r .TestCheckResourceAttr (
56
+ "data.archive_file.foo" , "output_md5" , "59fbc9e62af3cbc2f588f97498240dae" ,
57
+ ),
58
+ r .TestCheckResourceAttr (
59
+ "data.archive_file.foo" , "output_sha" , "ce4ee1450ab93ac86e11446649e44cea907b6568" ,
60
+ ),
61
+ r .TestCheckResourceAttr (
62
+ "data.archive_file.foo" , "output_sha256" , "5131387f97167da47aa741df3ab2c82f182f17c514c222538d34708d04e0756b" ,
63
+ ),
46
64
r .TestCheckResourceAttr (
47
65
"data.archive_file.foo" , "output_base64sha256" , "UTE4f5cWfaR6p0HfOrLILxgvF8UUwiJTjTRwjQTgdWs=" ,
48
66
),
49
67
r .TestCheckResourceAttr (
50
- "data.archive_file.foo" , "output_md5 " , "59fbc9e62af3cbc2f588f97498240dae " ,
68
+ "data.archive_file.foo" , "output_sha512 " , "eb33eb0f8cd8efe1a5a0b99acbd22ed22dbebb80817f8de6e8fed15c21c52240838d9bb46fb0938846c74f694425551ba60829a6396f91fcfe49d21a1e3bb409 " ,
51
69
),
52
70
r .TestCheckResourceAttr (
53
- "data.archive_file.foo" , "output_sha " , "ce4ee1450ab93ac86e11446649e44cea907b6568 " ,
71
+ "data.archive_file.foo" , "output_base64sha512 " , "6zPrD4zY7+GloLmay9Iu0i2+u4CBf43m6P7RXCHFIkCDjZu0b7CTiEbHT2lEJVUbpggppjlvkfz+SdIaHju0CQ== " ,
54
72
),
55
73
),
56
74
},
@@ -59,14 +77,23 @@ func TestAccArchiveFile_Basic(t *testing.T) {
59
77
Check : r .ComposeTestCheckFunc (
60
78
testAccArchiveFileExists (f , & fileSize ),
61
79
r .TestCheckResourceAttrPtr ("data.archive_file.foo" , "output_size" , & fileSize ),
80
+ r .TestCheckResourceAttr (
81
+ "data.archive_file.foo" , "output_md5" , "b73f64a383716070aa4a29563b8b14d4" ,
82
+ ),
83
+ r .TestCheckResourceAttr (
84
+ "data.archive_file.foo" , "output_sha" , "76d20a402eefd1cfbdc47886abd4e0909616c191" ,
85
+ ),
86
+ r .TestCheckResourceAttr (
87
+ "data.archive_file.foo" , "output_sha256" , "c9d07cc2dabc9caf6f43bed51fa613c281e6ca58cae3a8d6fae2094b00b3369a" ,
88
+ ),
62
89
r .TestCheckResourceAttr (
63
90
"data.archive_file.foo" , "output_base64sha256" , "ydB8wtq8nK9vQ77VH6YTwoHmyljK46jW+uIJSwCzNpo=" ,
64
91
),
65
92
r .TestCheckResourceAttr (
66
- "data.archive_file.foo" , "output_md5 " , "b73f64a383716070aa4a29563b8b14d4 " ,
93
+ "data.archive_file.foo" , "output_sha512 " , "b96ac6b9554a04473a733be36f190422bf7162b4afdb211a0f551713eadf4092459426750646c70383ce6c8b89171b88582a608e5841bfaaafa17004a2a2ca0a " ,
67
94
),
68
95
r .TestCheckResourceAttr (
69
- "data.archive_file.foo" , "output_sha " , "76d20a402eefd1cfbdc47886abd4e0909616c191 " ,
96
+ "data.archive_file.foo" , "output_base64sha512 " , "uWrGuVVKBEc6czvjbxkEIr9xYrSv2yEaD1UXE+rfQJJFlCZ1BkbHA4PObIuJFxuIWCpgjlhBv6qvoXAEoqLKCg== " ,
70
97
),
71
98
),
72
99
},
0 commit comments