Skip to content

Commit bd32246

Browse files
author
Om Sharma
authored
Merge pull request #11 from clouddrove/CD-338
Fix terratest
2 parents a947f91 + 7c24b43 commit bd32246

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
.idea
66
*.iml
77
*.terraform.lock.hcl
8+
/_test/go.mod
9+
/_test/go.sum

_example/example.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module "s3_bucket" {
88

99
name = "clouddrove-sftp-bucket"
1010
environment = "test"
11-
label_order = ["name", "environment"]
11+
label_order = ["environment", "name"]
1212

1313
versioning = true
1414
acl = "private"
@@ -19,7 +19,7 @@ module "sftp" {
1919
source = "../"
2020
name = "sftp"
2121
environment = "test"
22-
label_order = ["name", "environment"]
22+
label_order = ["environment", "name"]
2323

2424
enable_sftp = true
2525
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDfjNc4A+atuEBaElnpQqFkBFgGc+kCslpXh/aKETl1Wh95tOy9IWHomegVxKB44OvB5s6I6HFwRa8MCpcAUnW3vD7hBwOv+PgJ0ZFUGYrl71doDHsWtfgoRhrKlhk2jjS7gOZrrYK2vg0859knhrmRQEm6snqFdZ6bLc6R/r0htgtgUx9mESZHfupL/lylOjBiEboQxpo1lp2MKEmksv5q+8A60ZN+mTEj6M4Zmbiw7ypGjcK8utgOyoJ58uWIMt76VW46M6FIGVymwnqBm5PUgThzTPhwVpIc4kTw2Ko1CF4l8fhHNHr698NNTkpol5QvFiBZIgbTGF9RBJyYpGN1XupY4UCrwLBFb5Sigu42lCfb2/wpuAPk5LpoUhdvrDYyzxMdFy0AhIs+3my9D5jNs2rHywoYzcGfrEwi8tLHRqaV+nOI4URk7GenzAQWbUeKwosgSyVv4XnAFrtHMx2oUN5iqAMwFeZH67gw9BkATiF0ZhExCHGILcLZTNJP2N0= anmol@clouddrove-Lenov"

_test/sftp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ func Test(t *testing.T) {
3030

3131
// Verify we're getting back the outputs we expect
3232
assert.Contains(t, Id, "s-")
33-
assert.Equal(t, "sftp-test", Tags["Name"])
33+
assert.Equal(t, "test-sftp", Tags["Name"])
3434
}

0 commit comments

Comments
 (0)