Skip to content

Instantly share code, notes, and snippets.

@ishankhare07
Created October 18, 2021 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishankhare07/8c4dbe55495b07d15a5973ca959a1f9e to your computer and use it in GitHub Desktop.
Save ishankhare07/8c4dbe55495b07d15a5973ca959a1f9e to your computer and use it in GitHub Desktop.

The following script seemd to help, giving a list of m1 compatible provider versions:

PROVIDER="hashicorp/google"
curl --silent https://registry.terraform.io/v1/providers/${PROVIDER}/versions | jq -r '.versions[] | select(.platforms[] | contains ({"os": "darwin", "arch": "arm64"})) | .version'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment