-
Notifications
You must be signed in to change notification settings - Fork 42
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
[MM-61113] Allow multiple customizable subnets #833
base: master
Are you sure you want to change the base?
Conversation
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.
Cool! A couple of high-level comments.
- deployer config changes:
ClusterVpcId
->ClusterVPCIDs
I don't see this change in here. I guess you meant ClusterSubnetID
to ClusterSubnetIDs
.
Also, is the implicit indexing driven by certain constraints or just simpler/quicker to implement? I am wondering whether a more structured setting could be easier/digestible (and potentially less error-prone) on the user side.
Yeah, sorry. Edited.
What do you mean by this? |
Having the specific index of |
Summary
ClusterSubnetID
->ClusterSubnetIDs
ElasticsearchSettings.VPCID
removed in favor ofClusterVpcId
ClusterVPCIDs
is not set, we use the first ubnet filtered from theaws_subnet.selected
resource.ClusterVPCIDs
is set, we useaws_subne.manual
and manually pick an index from the resulting list for each resource that require a subnet to try and balance things out. RDS databases are sent all subnets. Check out thisaws_subnet.manual
to get the subnet list to prevent terraform trying to destroy the subnets or (if used withrandom_shuffle
) recreate all resources when there has been no changes.Ticket Link
https://mattermost.atlassian.net/browse/MM-61113