If I source someone elses github terraform module. One I don't have control over. Do I depend on outputs the AUTHOR included in their source? Or can I add new outputs as long as I reference their names properly?
Because I keep getting this:
Error: output 'i_hate_terraform': "aws_subnet.private.id" is not a valid output for module "bastion_vpc_template"
And when I reference an output that *was* defined I still get crap:
Error: output 'i_hate_terraform': "aws_vpc.id" is not a valid output for module "bastion_vpc_template"
Please lord god, save my soul!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/129c086f-e5b8-47ab-8388-34059068f8ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
provider "aws" {
region = "us-east-1"
}
resource "aws_instance" "omg" {
ami = "ami-1853ac65"
instance_type = "t2.micro"
subnet_id = "subnet-1f866434"
}
output "a_working_subnet" {
value = "aws_instance.omg.subnet_id"
}
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAM7yfUD26mkhG9%3D8-Gf5Yo9nvZzF8WhYqNedV-ihz_4R%3DoySOw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/129c086f-e5b8-47ab-8388-34059068f8ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAM7yfUD26mkhG9%3D8-Gf5Yo9nvZzF8WhYqNedV-ihz_4R%3DoySOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/3C3146E5-A082-49EE-8426-980DAF3AB356%40gmail.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/9564988D-2812-4646-B813-397C6F380878%40gmail.com.
output "a_working_subnet" {
value = "${aws_instance.omg.subnet_id}"
}
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAM7yfUBawaFxJX1OWFG4U5xdXZvXRDARVTU54%2BkqZT5yoCQgBQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAM7yfUBawaFxJX1OWFG4U5xdXZvXRDARVTU54%2BkqZT5yoCQgBQ%40mail.gmail.com.
provider "aws" {
region = "us-east-1"
}
resource "aws_instance" "omg" {
ami = "ami-1853ac65"
instance_type = "t2.micro"
subnet_id = "subnet-1f866434"
}
output "seanoutput" {
value = "${aws_instance.omg.subnet_id}"
}
On Apr 24, 2018, at 12:02 PM, Fernando <tl...@fernandomiguel.net> wrote:
if you show us the output.tf in the module, we can more easily help you build the output in your state
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/298cb81a-3139-4727-bf59-31531732fe48%40googlegroups.com.
On Apr 24, 2018, at 12:07 PM, Sean Hull <hull...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/298cb81a-3139-4727-bf59-31531732fe48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/77435BF2-9454-4253-938B-85023B7552E7%40gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAM7yfUCYf58VceFPUJw%3DZBu%3DxX-1qQSsGcS59YieRwc90mQzYQ%40mail.gmail.com.
Thank you Fernando.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/298cb81a-3139-4727-bf59-31531732fe48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/77435BF2-9454-4253-938B-85023B7552E7%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/c1f94a38-d27b-49dc-b7b6-244bd986f030%40googlegroups.com.