-
Notifications
You must be signed in to change notification settings - Fork 166
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
User data parameter asg #100
User data parameter asg #100
Conversation
@@ -165,9 +165,18 @@ def create_load_balancer(self): | |||
GetAtt(elb_name, 'DNSName')], | |||
Condition="SetupELBDNS")) | |||
|
|||
def get_launch_configuration_parameters(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I almost feel like this should return all of the parameters - and if people want to override any of them, they in theory could?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like ImageId etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we should come up with a standard for doing this. Anytime I have a slight divergence from one of the base blueprints, I have to either create a pull request to support a parameter that wasn't initially included or create my own subclass and copy paste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the way parameters are handled now you shouldn't have to copy/paste. Subclass, then modify _get_parameters. If you have an idea for a standard that works for everything, I'm all for it.
@phobologic addressed the above |
Awesome. |
I think we should come up with a more extensible ASG blueprint.
I needed the following changes to push an ASG for an ECS cluster and was in a hurry so didn't think too much about the structure.
Given that ASG are such a core piece of infrastructure, I thought I would open this up so we could discuss refactoring them to be more extensible.
From working with it, i think we should support: