Provides a way to check whether default EBS encryption is enabled for your AWS account in the current AWS region.
data "aws_ebs_encryption_by_default" "current" {}
This data source exports the following attributes in addition to the arguments above:
enabled
- Whether or not default EBS encryption is enabled. Returns as true
or false
.id
- Region of default EBS encryption.read
- (Default 20m
)