You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.
41
+
We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.
42
42
43
43
This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself.
44
44
@@ -49,7 +49,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
| application | Application (e.g. `cd` or `clouddrove`). |`string`|`""`| no |
99
-
| attributes | Additional attributes (e.g. `1`). |`list`|`[]`| no |
97
+
| attributes | Additional attributes (e.g. `1`). |`list(any)`|`[]`| no |
100
98
| delimiter | Delimiter to be used between `organization`, `environment`, `name` and `attributes`. |`string`|`"-"`| no |
101
99
| enable\_sftp | Set to false to prevent the module from creating any resources. |`bool`|`true`| no |
102
100
| endpoint\_type | The type of endpoint that you want your SFTP server connect to. If you connect to a VPC (or VPC\_ENDPOINT), your SFTP server isn't accessible over the public internet. If you want to connect your SFTP server via public internet, set PUBLIC. Defaults to PUBLIC |`string`|`"PUBLIC"`| no |
| identity\_provider\_type | The mode of authentication enabled for this service. The default value is SERVICE\_MANAGED, which allows you to store and access SFTP user credentials within the service. API\_GATEWAY. |`string`|`"SERVICE_MANAGED"`| no |
105
-
| key\_path | Name (e.g. `~/.ssh/id_rsa.pub` or `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQ`). |`string`|`""`| no |
106
-
| label\_order | Label order, e.g. `name`,`application`. |`list`|`[]`| no |
107
-
| managedby | ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. |`string`|`"anmol@clouddrove.com"`| no |
103
+
| key\_path | Name (e.g. `~/.ssh/id_rsa.pub`). |`string`|`""`| no |
104
+
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
105
+
| managedby | ManagedBy, eg 'CloudDrove'. |`string`|`"hello@clouddrove.com"`| no |
108
106
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
107
+
| public\_key | Name (e.g. `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQ`). |`string`|`""`| no |
108
+
| repository | Terraform current module repo |`string`|`"https://registry.terraform.io/modules/clouddrove/sftp/aws"`| no |
109
109
| s3\_bucket\_id | The landing directory (folder) for a user when they log in to the server using their SFTP client. |`string`| n/a | yes |
| sub\_folder | Landind folder. |`string`|`""`| no |
112
-
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map`|`{}`| no |
111
+
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map(any)`|`{}`| no |
113
112
| user\_name | User name for SFTP server. |`string`| n/a | yes |
114
-
| vpc\_id | VPC ID |`string`|`"vpc-0ea04e161d1bc836d"`| no |
113
+
| vpc\_id | VPC ID |`string`|`""`| no |
115
114
116
115
## Outputs
117
116
@@ -125,7 +124,7 @@ Here is an example of how you can use this module in your inventory structure:
125
124
126
125
127
126
## Testing
128
-
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
127
+
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
129
128
130
129
You need to run the following command in the testing folder:
131
130
```hcl
@@ -134,7 +133,7 @@ You need to run the following command in the testing folder:
134
133
135
134
136
135
137
-
## Feedback
136
+
## Feedback
138
137
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-sftp/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).
139
138
140
139
If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-aws-sftp)!
0 commit comments