Terraform aws_athena_database资源中的Encryption_configuration是什么
我不明白encryption_configuration agrument在做什么,为什么必须启用它?因为当我应用下面的代码时,我找不到achena数据库的加密状态。
resource "aws_athena_database" "example" {
name = "database_name"
bucket = aws_s3_bucket.mybucket.bucket
encryption_configuration {
encryption_option = "SSE_KMS"
kms_key = aws_kms_key.mykey.arn
}
}
我有一个无启用加密的Athena数据库,因此,如果我启用它,我是否会在此数据库中丢失任何数据?
I don't understand what encryption_configuration agrument doing, why I have to enable it? Because when I applied the code below, I cannot find the encryption status of athena database.
resource "aws_athena_database" "example" {
name = "database_name"
bucket = aws_s3_bucket.mybucket.bucket
encryption_configuration {
encryption_option = "SSE_KMS"
kms_key = aws_kms_key.mykey.arn
}
}
I have a athena database without enable encryption, so if I enable it, do I lost any data in this database?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NO中的任何数据,因为Athena不会存储您的实际数据。它仅存储有关您的数据的信息。来自 docs a>:
雅典娜数据库的加密仅用于读取加密的S3和存储查询结果:
No, because Athena does not store your actual data. It only stores information about your data. From docs:
The encryption of databases in Athena is only for reading encrypted S3 and storing query results as explained in: