Skip to content

Instantly share code, notes, and snippets.

View ishankhare07's full-sized avatar
πŸ‘¨β€πŸ’»

Ishan Khare ishankhare07

πŸ‘¨β€πŸ’»
View GitHub Profile

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'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.