Expose aws_ami root volume size #1623
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
I was trying to get at the AMI's root volume size so that my instance modules can default to the root volume size of the AMI instead of having to either hard-code a default or require the variable to be passed to the volume.
Unfortunately it looks like it's not really possible to usefully get at the information inside the block_device_mappings map (as mentioned in #1572).
Instead can we expose this directly as something like
root_volume_size
? It might be useful to expose the other things like thevolume_type
andiops
too at the same time for people who use provisioned IOPS I guess but I have no need for that.The text was updated successfully, but these errors were encountered: