Error: reading EC2 Instance - Invalid address to set: []string{"root_block_device", "0", "tags_all"}
sudoFerraz opened this issue · 4 comments
Since 1 day ago, we are receiving the following error on all runs of the action:
Error: reading EC2 Instance - Invalid address to set: []string{"root_block_device", "0", "tags_all"}
Link to an action failing on an open source repo: https://github.com/armitage-labs/armitage-monorepo/actions/runs/8121341921/job/22199578324
Tagging @LeoDiazL due to existing discord thread from other users experiencing the same; Discord thread: https://discord.com/channels/1007137664606150746/1213077630216048660/1213077630216048660
By what I found It's an issue with the latest version of hashicorp/terraform-provider-aws..
hashicorp/terraform-provider-aws#36038
It's been fixed in the next version: https://github.com/hashicorp/terraform-provider-aws/milestone/374?closed=1
@gozmozdony Running my actions still fails. Is there anything I need to configure or do I need to wait for a fix on the [github-actions-deploy-docker-to-ec2](https://github.com/bitovi/github-actions-deploy-docker-to-ec2)
repo?
@Crismon96 My educated guess would be that this repo consumes the latest version, so I think it's up to the terraform team to release the fixed version.
@sudoFerraz @gozmozdony @Crismon96
Thank you all for your inputs! It's always good to hear and see involvement from the community.
I've just went through some successful tests. The bug reported by @gozmozdony was the culprit.
We'll add the option to set the desire provider version in future releases, as requested by @Crismon96 here
Feel free to add a message there if you want to keep track of the resolution of it.
Once again, thanks for your inputs!