Code Monkey home page Code Monkey logo

Comments (7)

kendertas avatar kendertas commented on September 24, 2024

Hi, any news about this?
Thanks

from packer-plugin-amazon.

azzeddinefaik avatar azzeddinefaik commented on September 24, 2024

any news about this!

from packer-plugin-amazon.

webminster avatar webminster commented on September 24, 2024

I have this issue as well. throughput ignored in the launch device mappings, so the throughput shows as zero in the console - and has to be fixed to continue. Please fix or provide a workaround.

from packer-plugin-amazon.

begetan avatar begetan commented on September 24, 2024

I am waiting for the resolution of this issue too.

from packer-plugin-amazon.

JenGoldstrich avatar JenGoldstrich commented on September 24, 2024

Hey all, sorry for the delay in getting back to y'all on this,

I tested this on Packer v1.7.8 (amazon plugin v1.0.4 should work the same on newest v1.0.6) with the following JSON buildfile

{
    "_comment" : "Test",
    "variables": {
        "aws_access_key": "",
        "aws_secret_key": ""
    },
    "builders": [
        {
            "type": "amazon-ebs",
            "access_key": "{{user `aws_access_key`}}",
            "secret_key": "{{user `aws_secret_key`}}",
            "region": "us-east-1",
            "source_ami_filter": {
                "filters": {
                    "virtualization-type": "hvm",
                    "name": "ubuntu/images/*ubuntu*",
                    "root-device-type": "ebs"
                },
                "owners": [
                    "099720109477"
                ],
                "most_recent": true
            },
            "ami_block_device_mappings": [
                {
                    "device_name": "/dev/sda1",
                    "delete_on_termination": "true",
                    "volume_size": 20,
                    "volume_type": "gp3",
                    "throughput": 750,
                    "iops": 3000
                }
            ],
            "instance_type": "t2.micro",
            "ssh_username": "ubuntu",
            "communicator": "ssh",
            "ami_name": "jenna-test-2-5",
            "encrypt_boot": true,
            "tags": {
                "Team": "myteamtag",
                "OS_Version": "Centos",
                "Release": "Latest",
                "Base_AMI_Name": "jenna-test",
                "Extra": "latest"
            }
        }
    ]
}

And I see throughput 750/iops 3000 on the Add Storage step of launching my AMI on EC2.

After this @nywilken and I tested this on Packer 1.6.6, with the same .json file, with the same expected correct result.

I'm wondering if in the last few months something has changed on the AWS SDK that might have fixed this, since it seems to be working for us on both older, and newer versions of Packer.

@webminster @begetan y'all both experienced this issue recently, can you please let us know if you're still experiencing this?

Update: We also tested this with the launch_block_device_mappings option, we also were unable to reproduce the original issue with it.

from packer-plugin-amazon.

webminster avatar webminster commented on September 24, 2024

from packer-plugin-amazon.

JenGoldstrich avatar JenGoldstrich commented on September 24, 2024

Thanks for your response! I'm closing this now, anyone feel free to open if they are still experiencing this issue but I think a change in the AWS SDK might have fixed it.

from packer-plugin-amazon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.