clouddrove / terraform-aws-sftp Goto Github PK
View Code? Open in Web Editor NEWThis terraform module is used to create sftp on AWS for S3.
License: Apache License 2.0
This terraform module is used to create sftp on AWS for S3.
License: Apache License 2.0
0.14.0 introduced the use of sensitive
in accordance with Terraform 0.14.0.
52be35d#diff-05b5a57c136b6ff596500bcbfdcff145ef6cddea2a0e86d184d9daa9a65a288e
This change is a breaking change as the versions allows for >= 0.12.0
Any attempt to run with TF < 0.14.0 causes errors:
There are few issues with duplication and incorrect settings:
main.tf line 152 / 161
Logging policy & role names should not use pure ID, but like following:
name = "${module.labels.id}_logging"
Since you use now map instead of list, 'aws_transfer_ssh_key' on line 242 should be defined like following:
resource "aws_transfer_ssh_key" "transfer_server_ssh_key" {
for_each = var.enabled ? var.sftp_users : {}
server_id = join("", aws_transfer_server.transfer_server[*].id)
user_name = var.sftp_users[each.key].user_name
body = var.sftp_users[each.key].public_key
}
user_names = length(var.sftp_users) > 0 ? [for user in var.sftp_users : user.username] : []
Here the username should be user_name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.