I checked the wrapper with strict confinement and it is useless. The wrapper should be able to run any version of Terraform and actually any other commands too as Terraform can run anything using local-exec.
De facto the wrapper + Terraform are kind of shell and this is legit excuse to use classic confinement.
If you won’t agree then I’m going to remove this wrapper from Snapcraft.io as it will become useless as standalone tool without access to the other commands.
Ok, no problem. I see that Snap package is not the best option for such wrapper that runs any other command from the host then I’m removing this package from the store.
Well, terraform is in fact a classic snap itself
(not sure if that makes this request more valid, but it actually used a different category and different reasoning) Guidance on classic vs auto-connect for Terraform