From bb93eeda9750d7de9afe6f4d1103b1e324cf4d39 Mon Sep 17 00:00:00 2001 From: Marcos Diez Date: Fri, 6 Oct 2017 10:50:42 -0300 Subject: [PATCH] data.aws_db_snapshot was not exporting 'storage_type' --- aws/data_source_aws_db_snapshot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/aws/data_source_aws_db_snapshot.go b/aws/data_source_aws_db_snapshot.go index a5fad312992..3f60e2c628a 100644 --- a/aws/data_source_aws_db_snapshot.go +++ b/aws/data_source_aws_db_snapshot.go @@ -196,6 +196,7 @@ func dbSnapshotDescriptionAttributes(d *schema.ResourceData, snapshot *rds.DBSna d.Set("db_instance_identifier", snapshot.DBInstanceIdentifier) d.Set("db_snapshot_identifier", snapshot.DBSnapshotIdentifier) d.Set("snapshot_type", snapshot.SnapshotType) + d.Set("storage_type", snapshot.StorageType) d.Set("allocated_storage", snapshot.AllocatedStorage) d.Set("availability_zone", snapshot.AvailabilityZone) d.Set("db_snapshot_arn", snapshot.DBSnapshotArn)