Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

[proposal] Added amazonec2-use-default-network-interface option#3701

Open
bgokden wants to merge 1 commit intodocker-archive-public:masterfrom
bgokden:master
Open

[proposal] Added amazonec2-use-default-network-interface option#3701
bgokden wants to merge 1 commit intodocker-archive-public:masterfrom
bgokden:master

Conversation

@bgokden
Copy link
Copy Markdown
Contributor

@bgokden bgokden commented Aug 25, 2016

Added amazonec2-use-default-network-interface option to skip NetworkInterfaces parameter.

  • With use default network option, it is possible to use automatic network offered by the provider.

Signed-off-by: Berk Gokden berkgokden@gmail.com

This is required for our on-promise cluster to work. I am not sure if it helps anyone other than us. So it would be nice if someone who is using aws could review it.

@bgokden
Copy link
Copy Markdown
Contributor Author

bgokden commented Aug 31, 2016

@nathanleclaire hi, can you look at it when you have time?

}}

var netSpecs []*ec2.InstanceNetworkInterfaceSpecification = nil
var securityGroupIds []*string = nil
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these *string instead of string? Seems a potential nil deference panic

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have used *string since func makePointerSlice(stackSlice []string) []*string returns []*string

…nterfaces parameter.

- With use default network option, it is possible to use automatic network offered by the provider.

Signed-off-by: Berk Gokden <berkgokden@gmail.com>
@vtintillier
Copy link
Copy Markdown

@nathanleclaire is there something you need before we can merge this?

@bgokden left our company so he may not need this anymore, but it is still necessary for our ec2 compliant private cloud.

I can help rebasing on master (or merge master into this branch?) to resolve conflicts. I did that already on my local machine, to validate this still works with latest version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants