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

feat(vpc): removed default vpc fallback config #132

Merged
merged 11 commits into from
Feb 24, 2022
Merged

Conversation

Young-ook
Copy link
Owner

@Young-ook Young-ook commented Feb 9, 2022

This is a PR related to the issues #127 and #44.
Removed configuration code to retrieve default vpc from aws account for fallback.
And updated examples to use a new smart vpc module that internally selects a default vpc by itself.

@Young-ook Young-ook self-assigned this Feb 9, 2022

locals {
subnet_ids = var.subnets == null ? data.aws_subnet_ids.default.ids : var.subnets
}
Copy link
Owner Author

Choose a reason for hiding this comment

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

No longer looking for default vpc by default.

@@ -2,7 +2,6 @@
variable "subnets" {
description = "The list of subnet IDs to deploy your EKS cluster"
type = list(string)
default = null
Copy link
Owner Author

Choose a reason for hiding this comment

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

from now on, the subnet ids are required

@Young-ook Young-ook merged commit c6ffe46 into main Feb 24, 2022
@Young-ook Young-ook deleted the rm-vpc-fallback branch February 24, 2022 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant