terraform-aws-ec2-instance icon indicating copy to clipboard operation
terraform-aws-ec2-instance copied to clipboard

Use a map for root_block_device instead of list

Open Yethal opened this issue 7 months ago β€’ 4 comments

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • No πŸ›‘: please wait to file a request until the functionality is avaialble in the AWS provider
  • Yes βœ…: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

Instead of using a list of maps for root_block_device I'd like a map to be used. There can't be more than one root_block_device anyway and turning it into a single map will make it easier for terraform wrappers to merge in configuration As suggested in https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/pull/396, I'm opening an issue instead of keeping PR open.

Describe the solution you'd like.

Describe alternatives you've considered.

Additional context

Yethal avatar Mar 31 '25 09:03 Yethal

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar May 01 '25 00:05 github-actions[bot]

unstale

Yethal avatar May 05 '25 07:05 Yethal

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Jun 05 '25 00:06 github-actions[bot]

unstale

Yethal avatar Jun 06 '25 07:06 Yethal

This issue has been resolved in version 6.0.0 :tada:

antonbabenko avatar Jun 24 '25 19:06 antonbabenko

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Jul 25 '25 02:07 github-actions[bot]