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

Terraform plan fails using aws tf version 3.73.0 #336

Closed
babadofar opened this issue Jan 25, 2022 · 0 comments · Fixed by #337
Closed

Terraform plan fails using aws tf version 3.73.0 #336

babadofar opened this issue Jan 25, 2022 · 0 comments · Fixed by #337
Assignees

Comments

@babadofar
Copy link
Contributor

Summary

Trying to create a cluster using Vault, setting only the required input variables, fails with "read_capacity can not be set when billing_mode is "PAY_PER_REQUEST"

Steps to reproduce the behavior

Creating new git repos for terraform and cluster, run terraform init, then terraform plan

Expected behavior

It installs

Actual behavior

Fails with

  read_capacity can not be set when billing_mode is "PAY_PER_REQUEST"
  write_capacity can not be set when billing_mode is "PAY_PER_REQUEST"

Terraform version

The output of terraform version is:

Terraform v1.0.7
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v3.73.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.2.0
+ provider registry.terraform.io/hashicorp/helm v2.4.1
+ provider registry.terraform.io/hashicorp/kubernetes v2.7.1
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/hashicorp/template v2.2.0
+ provider registry.terraform.io/terraform-aws-modules/http v2.4.1

Your version of Terraform is out of date! The latest version
is 1.1.4. You can update by downloading from https://www.terraform.io/downloads.html```

I could fix the problem by adding a versions.tf file in my repo, and setting

terraform {
 required_providers {
   aws = "3.72.0"
 }
}

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.

2 participants