Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

StatCan/terraform-kubernetes-aks-platform-daaas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform for Azure Kubernetes Service Platform

The overall flow for this module is pretty simple:

  • Create Azure storage account to store Terraform state
  • Create Azure AKS Platform configuration in a modular manner
  • Deploy the infrastructure incrementally using GitHub Actions

Security Controls

The following security controls can be met through configuration of this template:

  • TBD

Dependencies

Workflow

  1. Create terraform.tfvars based on example template provider.

Note: You will need to add a client secret and grant admin consent to k8s_velero_${prefix} service principal in Azure AD.

  1. Ensure you have exported the ARM_ACCESS_KEY for the Terraform backend storage account.
export ARM_ACCESS_KEY=<secret>
  1. Initialize and set the Terraform backend configuration parameters for the AzureRM provider.
terraform init\
    -backend-config="storage_account_name=terraformkubernetes" \
    -backend-config="container_name=k8s-tfstate" \
    -backend-config="key=${prefix}-aks-platform.terraform.tfstate"
  1. Create an execution plan and save the generated plan to a file.
terraform plan -out plan
  1. Apply the changes required to reach desired state.
terraform apply plan

Note: You might have to run terraform plan and apply a few times due to dependency issues.

History

Date Release Change
20190909 20190909.1 1st release

About

Terraform for Azure Kubernetes Service configuration (DAaaS) (Public)

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •