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

Create volumes in outpost for outpost instances #561

Merged
merged 1 commit into from
Sep 30, 2020

Commits on Sep 30, 2020

  1. Create volumes in outpost when necessary

    With this commit we start passing the outpost arn (if it's present) to EBS.
    Before this commit, when the request came from an outpost instance,
    we would ask the EBS to create the volume in the parent AZ, which is not
    the expected behavior.
    
    In order to determine if we're running in an outpost instance, we use
    the ec2 instance metadata "outpost-arn". It returns a '404' for
    non-outpost instances or the outpost-arn as string otherwise. Now we
    include it in the topology requiment and pass it along to CreateVolume
    request if it's present.
    
    Automated e2e tests can be considerd impossible for this case as getting
    an outpost rack is not an easy task.
    ayberk committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    be125ff View commit details
    Browse the repository at this point in the history