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

bug in base/outputs #2

Open
brian-provenzano opened this issue Jul 19, 2017 · 2 comments
Open

bug in base/outputs #2

brian-provenzano opened this issue Jul 19, 2017 · 2 comments

Comments

@brian-provenzano
Copy link

brian-provenzano commented Jul 19, 2017

Just a heads up that in base/outputs.tf there is a minor bug/typo:

output "aws_key_pair_id" {
  source "${aws_key_pair.id.auth.id}"
}

Should be this:

output "aws_key_pair_id" {
  value = "${aws_key_pair.id.auth.id}"
}
@KensoDev
Copy link
Owner

Thank you!

@brian-provenzano
Copy link
Author

Haha - no problem. BTW thanks for putting this together! Its been very helpful while trying to pick up TF.

I do have one question :

I see that you define the aws provider block in the base module and then pass in the region from a variable defined in the main "web" dir/env variables file. This looks good since it allows for definition of provider in one place so it can be reused. However, when I run tf plan on this I am still prompted for region interactively. Any reason why this is happening? Not sure if its a bug in TF (I'm using latest 0.9.11) or I'm not understanding something but figured I'd ask.

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

2 participants