├── Article 1 ├── provider.tf ├── state_config.tf ├── terraform.tfvars └── variables.tf ├── Article 2 ├── modules.tf ├── modules │ └── network │ │ ├── gateways.tf │ │ ├── route_tables.tf │ │ ├── subnets.tf │ │ ├── variables.tf │ │ └── vpc.tf ├── provider.tf ├── state_config.tf ├── terraform.tfvars └── variables.tf ├── Article 3 ├── modules.tf ├── modules │ ├── network │ │ ├── gateways.tf │ │ ├── output.tf │ │ ├── route_tables.tf │ │ ├── subnets.tf │ │ ├── variables.tf │ │ └── vpc.tf │ └── security_groups │ │ ├── sg_eks_master.tf │ │ ├── sg_eks_node.tf │ │ ├── sg_rules_eks.tf │ │ └── variables.tf ├── provider.tf ├── state_config.tf ├── terraform.tfvars └── variables.tf ├── Article 4 ├── modules.tf ├── modules │ ├── eks │ │ ├── allow_nodes.tf │ │ ├── eks_master.tf │ │ ├── iam.tf │ │ ├── kubeconfig.tf │ │ ├── output.tf │ │ ├── sg_eks_master.tf │ │ ├── sg_eks_node.tf │ │ ├── sg_rules_eks.tf │ │ ├── variables.tf │ │ └── worker-nodes.tf │ └── network │ │ ├── gateways.tf │ │ ├── output.tf │ │ ├── route_tables.tf │ │ ├── subnets.tf │ │ ├── variables.tf │ │ └── vpc.tf ├── provider.tf ├── state_config.tf ├── terraform.tfvars └── variables.tf └── Article 5 ├── modules.tf ├── modules ├── alb │ ├── acm_certificate.tf │ ├── alb.tf │ ├── route53-setup.tf │ ├── sg_alb.tf │ └── variables.tf ├── eks │ ├── allow_nodes.tf │ ├── eks_master.tf │ ├── iam.tf │ ├── kubeconfig.tf │ ├── output.tf │ ├── sg_eks_master.tf │ ├── sg_eks_node.tf │ ├── sg_rules_eks.tf │ ├── variables.tf │ └── worker-nodes.tf └── network │ ├── gateways.tf │ ├── output.tf │ ├── route_tables.tf │ ├── subnets.tf │ ├── variables.tf │ └── vpc.tf ├── provider.tf ├── state_config.tf ├── terraform.tfvars └── variables.tf /Article 1/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 1/provider.tf -------------------------------------------------------------------------------- /Article 1/state_config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 1/state_config.tf -------------------------------------------------------------------------------- /Article 1/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 1/terraform.tfvars -------------------------------------------------------------------------------- /Article 1/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 1/variables.tf -------------------------------------------------------------------------------- /Article 2/modules.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules.tf -------------------------------------------------------------------------------- /Article 2/modules/network/gateways.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules/network/gateways.tf -------------------------------------------------------------------------------- /Article 2/modules/network/route_tables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules/network/route_tables.tf -------------------------------------------------------------------------------- /Article 2/modules/network/subnets.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules/network/subnets.tf -------------------------------------------------------------------------------- /Article 2/modules/network/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules/network/variables.tf -------------------------------------------------------------------------------- /Article 2/modules/network/vpc.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/modules/network/vpc.tf -------------------------------------------------------------------------------- /Article 2/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/provider.tf -------------------------------------------------------------------------------- /Article 2/state_config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/state_config.tf -------------------------------------------------------------------------------- /Article 2/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/terraform.tfvars -------------------------------------------------------------------------------- /Article 2/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 2/variables.tf -------------------------------------------------------------------------------- /Article 3/modules.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules.tf -------------------------------------------------------------------------------- /Article 3/modules/network/gateways.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/network/gateways.tf -------------------------------------------------------------------------------- /Article 3/modules/network/output.tf: -------------------------------------------------------------------------------- 1 | output "vpc_id" { 2 | value = "${aws_vpc.example.id}" 3 | } -------------------------------------------------------------------------------- /Article 3/modules/network/route_tables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/network/route_tables.tf -------------------------------------------------------------------------------- /Article 3/modules/network/subnets.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/network/subnets.tf -------------------------------------------------------------------------------- /Article 3/modules/network/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/network/variables.tf -------------------------------------------------------------------------------- /Article 3/modules/network/vpc.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/network/vpc.tf -------------------------------------------------------------------------------- /Article 3/modules/security_groups/sg_eks_master.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/security_groups/sg_eks_master.tf -------------------------------------------------------------------------------- /Article 3/modules/security_groups/sg_eks_node.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/security_groups/sg_eks_node.tf -------------------------------------------------------------------------------- /Article 3/modules/security_groups/sg_rules_eks.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/security_groups/sg_rules_eks.tf -------------------------------------------------------------------------------- /Article 3/modules/security_groups/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/modules/security_groups/variables.tf -------------------------------------------------------------------------------- /Article 3/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/provider.tf -------------------------------------------------------------------------------- /Article 3/state_config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/state_config.tf -------------------------------------------------------------------------------- /Article 3/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/terraform.tfvars -------------------------------------------------------------------------------- /Article 3/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 3/variables.tf -------------------------------------------------------------------------------- /Article 4/modules.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/allow_nodes.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/allow_nodes.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/eks_master.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/eks_master.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/iam.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/iam.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/kubeconfig.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/kubeconfig.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/output.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/sg_eks_master.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/sg_eks_master.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/sg_eks_node.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/sg_eks_node.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/sg_rules_eks.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/sg_rules_eks.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/variables.tf -------------------------------------------------------------------------------- /Article 4/modules/eks/worker-nodes.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/eks/worker-nodes.tf -------------------------------------------------------------------------------- /Article 4/modules/network/gateways.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/gateways.tf -------------------------------------------------------------------------------- /Article 4/modules/network/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/output.tf -------------------------------------------------------------------------------- /Article 4/modules/network/route_tables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/route_tables.tf -------------------------------------------------------------------------------- /Article 4/modules/network/subnets.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/subnets.tf -------------------------------------------------------------------------------- /Article 4/modules/network/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/variables.tf -------------------------------------------------------------------------------- /Article 4/modules/network/vpc.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/modules/network/vpc.tf -------------------------------------------------------------------------------- /Article 4/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/provider.tf -------------------------------------------------------------------------------- /Article 4/state_config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/state_config.tf -------------------------------------------------------------------------------- /Article 4/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/terraform.tfvars -------------------------------------------------------------------------------- /Article 4/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 4/variables.tf -------------------------------------------------------------------------------- /Article 5/modules.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules.tf -------------------------------------------------------------------------------- /Article 5/modules/alb/acm_certificate.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/alb/acm_certificate.tf -------------------------------------------------------------------------------- /Article 5/modules/alb/alb.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/alb/alb.tf -------------------------------------------------------------------------------- /Article 5/modules/alb/route53-setup.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/alb/route53-setup.tf -------------------------------------------------------------------------------- /Article 5/modules/alb/sg_alb.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/alb/sg_alb.tf -------------------------------------------------------------------------------- /Article 5/modules/alb/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/alb/variables.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/allow_nodes.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/allow_nodes.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/eks_master.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/eks_master.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/iam.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/iam.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/kubeconfig.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/kubeconfig.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/output.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/sg_eks_master.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/sg_eks_master.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/sg_eks_node.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/sg_eks_node.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/sg_rules_eks.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/sg_rules_eks.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/variables.tf -------------------------------------------------------------------------------- /Article 5/modules/eks/worker-nodes.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/eks/worker-nodes.tf -------------------------------------------------------------------------------- /Article 5/modules/network/gateways.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/gateways.tf -------------------------------------------------------------------------------- /Article 5/modules/network/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/output.tf -------------------------------------------------------------------------------- /Article 5/modules/network/route_tables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/route_tables.tf -------------------------------------------------------------------------------- /Article 5/modules/network/subnets.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/subnets.tf -------------------------------------------------------------------------------- /Article 5/modules/network/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/variables.tf -------------------------------------------------------------------------------- /Article 5/modules/network/vpc.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/modules/network/vpc.tf -------------------------------------------------------------------------------- /Article 5/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/provider.tf -------------------------------------------------------------------------------- /Article 5/state_config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/state_config.tf -------------------------------------------------------------------------------- /Article 5/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/terraform.tfvars -------------------------------------------------------------------------------- /Article 5/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naumannt/tf-article/HEAD/Article 5/variables.tf --------------------------------------------------------------------------------