Open TinajaLabs opened 6 years ago
I seem to have moved a step forward by adding these variables to my main.tf.
tectonic_admin_email = "me@myemail"
tectonic_admin_password = "mypass"
Now I'm getting these errors when running terraform plan
:
Warning: output "etcd_sg_id": must use splat syntax to access aws_security_group.etcd attribute "id", because it has "count" set; use aws_security_group.etcd.*.id to obtain a list of the attributes across all instances
Warning: output "aws_api_external_dns_name": must use splat syntax to access aws_elb.api_external attribute "dns_name", because it has "count" set; use aws_elb.api_external.*.dns_name to obtain a list of the attributes across all instances
Warning: output "aws_elb_api_external_zone_id": must use splat syntax to access aws_elb.api_external attribute "zone_id", because it has "count" set; use aws_elb.api_external.*.zone_id to obtain a list of the attributes across all instances
Warning: output "aws_api_internal_dns_name": must use splat syntax to access aws_elb.api_internal attribute "dns_name", because it has "count" set; use aws_elb.api_internal.*.dns_name to obtain a list of the attributes across all instances
Warning: output "aws_elb_api_internal_zone_id": must use splat syntax to access aws_elb.api_internal attribute "zone_id", because it has "count" set; use aws_elb.api_internal.*.zone_id to obtain a list of the attributes across all instances
Error: Error refreshing state: 1 error(s) occurred:
* module.kubernetes.module.dns.data.aws_route53_zone.tectonic: 1 error(s) occurred:
* module.kubernetes.module.dns.data.aws_route53_zone.tectonic: data.aws_route53_zone.tectonic: no matching Route53Zone found
I'm trying to frame up a kubernetes demo for testing.
Although I don't see anywhere how to create a module, I looked at the example and even though there is some mention of not editing the file because of some make overwrite, I used it as the base of my terraform config.
When I run
terraform init
it goes through the process of loading all the supporting modules from github. Then it throws some errors:Here is my main.tf:
I wish there was a little more explanation to get a first frame-up running. Perhaps an
example.tf
that provides the minimum workable variables to configure for an initial install.Thanks, Chris.