Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bac5554
commit 8d3bbf2
Showing
7 changed files
with
142 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
output "route53_worker_fqdn" { | ||
description = "Route53 records for worker instances" | ||
value = [aws_route53_record.worker.*.fqdn] | ||
output "route53_etcd_public_fqdn" { | ||
description = "Route53 records for etcd instances public" | ||
value = [aws_route53_record.etcd-public.*.fqdn] | ||
} | ||
|
||
output "route53_master_fqdn" { | ||
description = "Route53 records for master instances" | ||
value = [aws_route53_record.master.*.fqdn] | ||
output "route53_etcd_private_fqdn" { | ||
description = "Route53 records for etcd instances private" | ||
value = [aws_route53_record.etcd-private.*.fqdn] | ||
} | ||
|
||
output "elastic_ip_master" { | ||
description = "Elastic IP for first master node" | ||
value = [aws_eip.eip.public_ip] | ||
} | ||
output "route53_master_public_fqdn" { | ||
description = "Route53 records for kube master instances public" | ||
value = [aws_route53_record.master-public.*.fqdn] | ||
} | ||
|
||
output "route53_master_private_fqdn" { | ||
description = "Route53 records for kube master instances private" | ||
value = [aws_route53_record.master-private.*.fqdn] | ||
} | ||
|
||
output "route53_worker_public_fqdn" { | ||
description = "Route53 records for kube worker instances public" | ||
value = [aws_route53_record.worker-public.*.fqdn] | ||
} | ||
|
||
output "route53_worker_private_fqdn" { | ||
description = "Route53 records for kube worker instances private" | ||
value = [aws_route53_record.worker-private.*.fqdn] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/env bash | ||
sudo apt-get update | ||
sudo apt-get upgrade -y | ||
sudo apt-get install python3-pip -y | ||
pip3 install awscli | ||
wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 | ||
chmod +x cfssl_linux-amd64 | ||
sudo mv cfssl_linux-amd64 /usr/local/bin/cfssl | ||
wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 | ||
chmod +x cfssljson_linux-amd64 | ||
sudo mv cfssljson_linux-amd64 /usr/local/bin/cfssljson | ||
sudo hostname " + "${component}" + str(x + 1) + "." + "internal." + ${domain}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.12.1" | ||
} |