-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
12 changed files
with
353 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.