Skip to content

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

@izaac

Description

@izaac

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions