Add Terraform provider to required_providers block.
Run terraform init.
relevant info
infra on feat-aptible-in-tf [$!?] via 💠 infra on ☁️ (us-east-1) on ☁️ took 1m24s
❯ tf version
Terraform v1.1.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v3.74.3
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/launchdarkly/launchdarkly v2.5.0
+ provider registry.terraform.io/mongodb/mongodbatlas v1.3.0
+ provider registry.terraform.io/sumologic/sumologic v2.13.0
Your version of Terraform is out of date! The latest version
is 1.1.7. You can update by downloading from https://www.terraform.io/downloads.html
infra on feat-aptible-in-tf [$!?] via 💠 infra on ☁️ (us-east-1) on ☁️
❯ head main.tf
terraform {
experiments = [module_variable_optional_attrs]
required_providers {
aptible = {
source = "aptible/aptible"
version = "0.1.6"
}
aws = {
output
infra on feat-aptible-in-tf [$!?] via 💠 infra on ☁️ (us-east-1) on ☁️
❯ tf init
Initializing modules...
Initializing Terraform Cloud...
Initializing provider plugins...
- terraform.io/builtin/terraform is built in to Terraform
- Reusing previous version of launchdarkly/launchdarkly from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file
- Reusing previous version of hashicorp/random from the dependency lock file
- Finding aptible/aptible versions matching "0.1.6"...
- Reusing previous version of sumologic/sumologic from the dependency lock file
- Reusing previous version of mongodb/mongodbatlas from the dependency lock file
- Installing hashicorp/aws v3.74.3...
- Installed hashicorp/aws v3.74.3 (signed by HashiCorp)
- Installing hashicorp/random v3.1.0...
- Installed hashicorp/random v3.1.0 (signed by HashiCorp)
- Installing sumologic/sumologic v2.13.0...
- Installed sumologic/sumologic v2.13.0 (signed by a HashiCorp partner, key ID 58C1F2777F8E2367)
- Installing mongodb/mongodbatlas v1.3.0...
- Installed mongodb/mongodbatlas v1.3.0 (signed by a HashiCorp partner, key ID 2A32ED1F3AD25ABF)
- Installing launchdarkly/launchdarkly v2.5.0...
- Installed launchdarkly/launchdarkly v2.5.0 (signed by a HashiCorp partner, key ID 5902D4FCD0383786)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
╷
│ Warning: Experimental feature "module_variable_optional_attrs" is active
│
│ on main.tf line 2, in terraform:
│ 2: experiments = [module_variable_optional_attrs]
│
│ Experimental features are subject to breaking changes in future minor or patch releases, based on feedback.
│
│ If you have feedback on the design of this feature, please open a GitHub issue to discuss it.
│
│ (and 2 more similar warnings elsewhere)
╵
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/aptible/aptible v0.1.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.
╵
Thanks for bringing this to our attention! Until a package is available for arm64, you can work around this issue using Rosetta as described in this issue.
steps to reproduce
required_providers
block.terraform init
.relevant info
output