Skip to content

Commit

Permalink
Merge pull request #11 from clouddrove/CD-338
Browse files Browse the repository at this point in the history
Fix terratest
  • Loading branch information
Om Sharma authored Jul 6, 2021
2 parents a947f91 + 7c24b43 commit bd32246
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
.idea
*.iml
*.terraform.lock.hcl
/_test/go.mod
/_test/go.sum
4 changes: 2 additions & 2 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "s3_bucket" {

name = "clouddrove-sftp-bucket"
environment = "test"
label_order = ["name", "environment"]
label_order = ["environment", "name"]

versioning = true
acl = "private"
Expand All @@ -19,7 +19,7 @@ module "sftp" {
source = "../"
name = "sftp"
environment = "test"
label_order = ["name", "environment"]
label_order = ["environment", "name"]

enable_sftp = true
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDfjNc4A+atuEBaElnpQqFkBFgGc+kCslpXh/aKETl1Wh95tOy9IWHomegVxKB44OvB5s6I6HFwRa8MCpcAUnW3vD7hBwOv+PgJ0ZFUGYrl71doDHsWtfgoRhrKlhk2jjS7gOZrrYK2vg0859knhrmRQEm6snqFdZ6bLc6R/r0htgtgUx9mESZHfupL/lylOjBiEboQxpo1lp2MKEmksv5q+8A60ZN+mTEj6M4Zmbiw7ypGjcK8utgOyoJ58uWIMt76VW46M6FIGVymwnqBm5PUgThzTPhwVpIc4kTw2Ko1CF4l8fhHNHr698NNTkpol5QvFiBZIgbTGF9RBJyYpGN1XupY4UCrwLBFb5Sigu42lCfb2/wpuAPk5LpoUhdvrDYyzxMdFy0AhIs+3my9D5jNs2rHywoYzcGfrEwi8tLHRqaV+nOI4URk7GenzAQWbUeKwosgSyVv4XnAFrtHMx2oUN5iqAMwFeZH67gw9BkATiF0ZhExCHGILcLZTNJP2N0= anmol@clouddrove-Lenov"
Expand Down
2 changes: 1 addition & 1 deletion _test/sftp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ func Test(t *testing.T) {

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

0 comments on commit bd32246

Please sign in to comment.