Describe the bug
The documentation in aws_rds.DatabaseInstance and aws_rds.DatabaseInstanceFromSnapshot both document the storage size as follows:
:param allocated_storage: The allocated storage size, specified in gigabytes (GB). Default: 100
One gigabyte is 10⁹ or 1,000,000,000 bytes. AWS, however, reports the storage allocation of DB instances and snapshots in GiB (2³⁰ or 1,073,741,824 bytes). I assume the documentation is simply wrong, otherwise there would have to be some funky conversion going on inside CDK.
Expected Behavior
The units in the documentation and functionality should line up with the units used in AWS itself.
Current Behavior
As above.
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.27.0 (build 8e89048)
Framework Version
No response
Node.js Version
v14.18.1
OS
NixOS
Language
Python
Language Version
3.9.6
Other information
No response
Describe the bug
The documentation in
aws_rds.DatabaseInstanceandaws_rds.DatabaseInstanceFromSnapshotboth document the storage size as follows:One gigabyte is 10⁹ or 1,000,000,000 bytes. AWS, however, reports the storage allocation of DB instances and snapshots in GiB (2³⁰ or 1,073,741,824 bytes). I assume the documentation is simply wrong, otherwise there would have to be some funky conversion going on inside CDK.
Expected Behavior
The units in the documentation and functionality should line up with the units used in AWS itself.
Current Behavior
As above.
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.27.0 (build 8e89048)
Framework Version
No response
Node.js Version
v14.18.1
OS
NixOS
Language
Python
Language Version
3.9.6
Other information
No response