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

IOPS is not currently working with EBS block mapping #91

Open
IkePCampbell opened this issue Aug 4, 2022 · 0 comments
Open

IOPS is not currently working with EBS block mapping #91

IkePCampbell opened this issue Aug 4, 2022 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@IkePCampbell
Copy link

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

    {
      device_name  = "/dev/sda1"
      no_device    = "false"
      virtual_name = "root"
      ebs = {
        encrypted             = true
        volume_size           = 200
        delete_on_termination = true
        iops                  = null
        kms_key_id            = null
        snapshot_id           = null
        volume_type           = "standard"
      }
    }
  ]

When you run this, you get a

│ Error: creating Auto Scaling Group (moomoo-20220804165621917300000002): ValidationError: You must use a valid fully-formed launch template. The parameter iops is not supported for standard volumes.
│ 	status code: 400, request id: 529d3cad-0c92-4cbc-9d8e-a34d8e864ba8
│
│   with aws_autoscaling_group.default[0],
│   on main.tf line 143, in resource "aws_autoscaling_group" "default":
│  143: resource "aws_autoscaling_group" "default" {
│

Expected Behavior

I dont know if this is supported with gp2 as well, as when i swap out "standard" for "gp2" and set iops to null, I still get the same error. If I omit the IOPS flag, this module says it is required.

@IkePCampbell IkePCampbell added the bug 🐛 An issue with the system label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant