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

Install to an existing VPC #74

Open
mathus13 opened this issue Jan 11, 2019 · 5 comments
Open

Install to an existing VPC #74

mathus13 opened this issue Jan 11, 2019 · 5 comments

Comments

@mathus13
Copy link

Thank you for this. I am new to openshift/k8, and still pretty new to AWS. Using terraform to bootstrap this is so helpful.

I have a need to create the openshift cluster in a pre-existing vpc and subnet.
I am wondering what the best method is to bypass the vpc creation and pass the vpc and subnet ids as a variable

@dwmkerr
Copy link
Owner

dwmkerr commented Jan 14, 2019

Hi @mathus13 it will not be possible to add to an existing VPC without some modification to the Terraform code I'm afraid! If you are struggling to do it let me know and I will try to find some time to help.

@mathus13
Copy link
Author

Thank you. I figured out how to do what I needed.
Do you think it would be helpful to implement a VPC and/or Subnet variable using if statements?
If so, I would be happy to submit a PR

@dwmkerr
Copy link
Owner

dwmkerr commented Jan 15, 2019 via email

@arashkaffamanesh
Copy link

@mathus13 any news about this issue?

@mathus13
Copy link
Author

@arashkaffamanesh Time has been tight to write any kind of conditional, but I was able to make it work by emptying step 7 and replacing references to the created VPC and Subnet ids with passed variables.

I would consider this a closed issue, and if I can find time to write functionality for this I will post a PR.

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

No branches or pull requests

3 participants