Find a way to allow the repo to work with either x86 or arm images only #1261
Replies: 4 comments
-
@roberto-sebastiano You can have your cluster 100% ARM, it's what I use actually, no problem at all. The snapshot does not cost anything, don't worry about it. |
Beta Was this translation helpful? Give feedback.
-
@mysticaltech I don't agree at all. It takes time to build with packer 2 images each time you test something when you need just one ! Thank you |
Beta Was this translation helpful? Give feedback.
-
@roberto-sebastiano Why would you build each time? I haven't built mine in the last 6 months. Also, please PR welcome if you find a way. The problem is that packer and terraform are not connected, so that was the simpler solution we could find. You may want to customize the code to work for you just with ARM, but it's just not easily generalizable. |
Beta Was this translation helpful? Give feedback.
-
@roberto-sebastiano Here I moved this to our ideas section for future consideration. The FR section in the readme is just a buffer for this section. We may keep very important FR there for some time and if not acted upon, everything is moved here. Again, PR welcome, this is just not something we have seen a strong need for, and it seems difficult to coordinate between packer and terraform. |
Beta Was this translation helpful? Give feedback.
-
Description
Hello,
NEED:
As a maintaner of a cluster of arm only nodes, I would like the possiblity to have the repo working with only arm images.
I tried commeting the x86 part in the packer file, but later terraform plan gives error about:
This is true even if I pinpoint the same arm image like
microos_x86_snapshot_id = "123456"
microos_arm_snapshot_id = "123456"
where 123456 is present on hetzner cloud as a packer snapshot
PROPOSED SOLUTION:
something in the line of (see count):
main.tf
probably this would need to be patched in other files as well, I can provide a PR if needed
❤️
Roberto Sebastiano
Beta Was this translation helpful? Give feedback.
All reactions