eks-in-action
eks-in-action copied to clipboard
🎤 Creating an EKS cluster and VPC in AWS
EKS in Action
Reading material and code examples
Creating an EKS cluster and VPC in AWS.
Note: You will need to ensure wget
is installed locally for the EKS module to validate your EKS cluster's endpoint.
Table of Contents
-
EKS in Action
- Table of Contents
- Prerequisites
-
Reading material
- HashiCorp Configuration Language
- First Steps
-
Next Steps
- Code Quality
- Modules
- Author Information
- License
Prerequisites
As part of this workshop, you will be using HashiCorp Terraform and Amazon Web Services.
For instructions on how to install Terraform. please see our Learn Guide.
On that page, you will find instructions for macOS (using brew
), Windows (using choco
) as well as a manual installation path.
Reading material
This section is a collection of links that will help you make the most of today's session.
HashiCorp Configuration Language
- repository: hashicorp/hcl
- intermediate HCL: Configuration Languages in HCL2
First Steps
- CLI commands terraform.io/docs/commands/index.html
- variables and type constraints: terraform.io/docs/configuration/variables.html
- variable definition files: terraform.io/docs/configuration/variables.html
- information about Terraform State: terraform.io/docs/state/index.html
Next Steps
- Learn Guide: Build infrastructure learn.hashicorp.com/terraform/getting-started/build
- Build your own AMIs with Packer: packer.io/docs/builders/amazon/
Code Quality
Before plan
and apply
, always clean up your code:
- use terraform fmt to rewrite Terraform configuration files to a canonical format and style.
- use terraform validate to validate the configuration syntax and internal consistency
- use pre-commit to run more checks
- community member @antonbabenko built and maintains pre-commit-terraform
Modules
- use modules as building blocks
- module documentation: terraform.io/docs/configuration/modules.html
- module registry: registry.terraform.io
- Learn Guide: Modules on learn.hashicorp.com/terraform/modules/modules-overview
Author Information
This repository is maintained by Taylor Dolezal .
License
Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, without WARRANTIES or conditions of any kind, either express or implied.
See the License for the specific language governing permissions and limitations under the License.