📅  最后修改于: 2022-03-11 14:58:21.783000             🧑  作者: Mango
resource "aws_s3_bucket_object" "s3_folder" {
provider = aws
bucket = "${module.s3_bucket.bucket_id}"
acl = "private"
key = "${var.folder_name}/"
content_type = "application/x-directory"
// (Optional) Specifies the AWS KMS Key ARN to use for object encryption. This value is a fully qualified ARN of the KMS Key.
kms_key_id = "${var.kms_key_arn}"
}