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

terraform: add new variables for existing VPC and subnet #1592

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

genjuro214
Copy link
Contributor

Current IBM Cloud terraform to create self-managed cluster will always create new VPC and subnet for VSIs.

As a result, it's easy to see vpc quota exceeded errors because by default only 10 VPCs could be created in a region under an account.

In this PR, we introduced 2 new variables to specify existing VPC and subnet names. If they are set, will create VSIs in existing VPC; otherwise, will create new VPC and subnet as usual

Copy link
Member

@liudalibj liudalibj left a comment

Choose a reason for hiding this comment

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

/LGTM

Thanks @genjuro214

Enable the creation of VSIs in existing
VPC and subnet

Signed-off-by: Lei Li <genjuro214@gmail.com>
Signed-off-by: Lei Li <cdlleili@cn.ibm.com>
@huoqifeng
Copy link
Contributor

@tumberino would you please have a look at that? thanks!

Copy link
Contributor

@tumberino tumberino left a comment

Choose a reason for hiding this comment

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

lgtm

@genjuro214 genjuro214 merged commit 68e49e1 into confidential-containers:main Nov 21, 2023
21 checks passed
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.

None yet

4 participants