-
Notifications
You must be signed in to change notification settings - Fork 56
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
Updated to Terraform Client 0.7 Updated docs #176
base: master
Are you sure you want to change the base?
Conversation
@@ -1,8 +1,13 @@ | |||
[role=masters] |
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.
Why is this here?
@@ -70,15 +70,26 @@ To install the role dependencies for Ansible execute: | |||
cd /tmp/kubeform | |||
ansible-galaxy install -r requirements.yml | |||
``` | |||
Ensure that an ssh server is running on port 22 on your development machine. |
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.
Why is this needed?
hey @mattcoffey thanks a lot for this, just dropped a few comments |
@@ -47,7 +47,7 @@ resource "template_file" "etcd_discovery_url" { | |||
} | |||
|
|||
module "ca" { | |||
source = "github.com/Capgemini/tf_tls//ca" |
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.
Could you point the modules to github.com/tamsky/tf_tls/ for consistency which is already being used for aws and supports terraform >= 0.7.3 then we can move all back in one go to Cap
Thanks for the comments @enxebre The odd stuff in inventory/inventory and comment about local ssh server was related to making the ansible part work without having specified the TF_VAR_STATE_ROOT properly previously. When I realised that was the problem it became obvious that it wasn't necessary to copy the IPs from the output of terraform apply or have a local ssh server running. |
Hey @mattcoffey as part of the upgrade for terraform 0.7 we'd need to update the the templates to be "Data Sources" analogous to https://github.com/Capgemini/kubeform/pull/172/files#diff-f7c82420f5bbe654c1ba49edd173dab3R14 |
I'll update the templates when I get back from travel on the 27th. Thanks for the pointers Alberto! |
I encountered some issues while trying to run the demo so I'm sharing what I did to get up and running. PR: Capgemini/tf_tls#46 should be dealt with first and references to the mattcoffey fork in main.tf should be reverted back to Capgemini.
N.B.: Only tested with Digital Ocean