Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NubesGen generated project not working on Mac ARM64 #198

Closed
iemejia opened this issue Nov 24, 2021 · 4 comments · Fixed by #199
Closed

NubesGen generated project not working on Mac ARM64 #198

iemejia opened this issue Nov 24, 2021 · 4 comments · Fixed by #199

Comments

@iemejia
Copy link
Contributor

iemejia commented Nov 24, 2021

Overview of the issue

NubesGen generated projects do not work on new Macs because the aztfmod/azurecaf provider does not support yet ARM64

Motivation for or Use Case
Reproduce the error

Generate a nubesgen project from the web UI and try to run terraform init on a Mac M1

 % terraform init
Initializing modules...

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/azurerm versions matching ">= 2.75.0"...
- Finding aztfmod/azurecaf versions matching "1.2.8"...
- Installing hashicorp/azurerm v2.86.0...
- Installed hashicorp/azurerm v2.86.0 (signed by HashiCorp)
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/aztfmod/azurecaf v1.2.6 does not have a package available for your current platform, darwin_arm64.
│
│ Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
Related issues
Suggest a Fix

We need to generate the terraform scripts with a higher version of the provider, I tried to do this but found that even if the azurecaf project supports already arm64 on version 1.2.8 we need to wait until they publish the ARM64 azurecaf provider binaries to fix it. aztfmod/terraform-provider-azurecaf#126

NubesGen Version(s)
Browsers and Operating System

Mac M1
macOS Monterrey 12.0.1

@iemejia iemejia changed the title NubesGen not working on Mac ARM64 NubesGen generated project not working on Mac ARM64 Nov 24, 2021
@arnaudlh
Copy link

Friendly ping from CAF team, this should help, let us know: https://github.com/aztfmod/terraform-provider-azurecaf/releases/tag/v1.2.9

@jdubois
Copy link
Contributor

jdubois commented Nov 24, 2021

Thanks! Let me upgrade to this new version (was this released 30 minutes ago for real????).
I unfortunately can't test, as I don't have one of those new Macs, so @iemejia I'll ping you when it's ready so you can have a try.

@iemejia
Copy link
Contributor Author

iemejia commented Nov 24, 2021

Wow I cannot go take lunch before you all fix this. Amazing!
I confirm terraform init works now on Mac M1 (with latest master)! Nice!

@jdubois You have to upgrade de nubesgen.com site so this fix gets out for everyone still.

@jdubois
Copy link
Contributor

jdubois commented Nov 24, 2021

Thank you @iemejia ! I need several days before doing a new release, we're a bit stuck with the addition of VNet, which is super complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants