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

The volume_size variable in the AWS node templates should be of type integer #15

Open
izaac opened this issue Jul 11, 2023 · 0 comments

Comments

@izaac
Copy link
Collaborator

izaac commented Jul 11, 2023

Reproducible using the corral binary.

This is the error thrown by terraform when corral create

Inappropriate value for attribute "volume_size": a number is required.

Error: Incorrect attribute value type

  on main.tf line 88, in resource "aws_instance" "agent":
  88:      volume_size           = var.aws_volume_size
    ├────────────────
    │ var.aws_volume_size is "50G"

End if we change the variable value to a number without quotes on the template's manifest there's a type error.

FATA[0000] invalid variables: aws_volume_size:: jsonschema: '' does not validate with aws_volume_size#/type: expected string, but got number

These errors can be fixed by changing the aws_volume_size variables to integer.

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

No branches or pull requests

1 participant