osinfra-io / terraform-kubernetes-istio

Terraform example module for Kubernetes Istio service mesh.

Home Page:https://www.osinfra.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes - Istio Terraform Module

GitHub Actions:

Terraform Tests Dependabot

Infracost:

infracost

πŸ’΅ Monthly estimates based on Infracost baseline costs.

Repository Description

Terraform example module for a Google Cloud Platform Kubernetes engine cluster.

Note

We do not recommend consuming this module like you might a public module. It is a baseline, something you can fork, potentially maintain, and modify to fit your organization's needs. Using public modules vs. writing your own has various drivers and trade-offs that your organization should evaluate.

πŸ”© Usage

Tip

You can check the tests/fixtures directory for example configurations. These fixtures set up the system for testing by providing all the necessary initial code, thus creating good examples on which to base your configurations.

Development

Our focus is on the core fundamental practice of platform engineering, Infrastructure as Code.

Open Source Infrastructure (as Code) is a development model for infrastructure that focuses on open collaboration and applying relative lessons learned from software development practices that organizations can use internally at scale. - Open Source Infrastructure (as Code)

To avoid slowing down stream-aligned teams, we want to open up the possibility for contributions. The Open Source Infrastructure (as Code) model allows team members external to the platform team to contribute with only a slight increase in cognitive load. This section is for developers who want to contribute to this repository, describing the tools used, the skills, and the knowledge required, along with Terraform documentation.

See the documentation for setting up a local development environment here.

πŸ› οΈ Tools

πŸ“‹ Skills and Knowledge

Links to documentation and other resources required to develop and iterate in this repository successfully.

πŸ” Tests

You'll need to be a member of the platform-contributors Google Group to run the tests. This group manages access to Testing/Sandbox folder in the resource hierarchy. You can request access to this group by opening an issue here.

terraform init
terraform test

πŸ““ Terraform Documentation

A child module automatically inherits default (un-aliased) provider configurations from its parent. The provider versions below are informational only and do not need to align with the provider configurations from its parent.

Requirements

No requirements.

Providers

Name Version
google 5.38.0

Modules

No modules.

Resources

Name Type
google_compute_global_address.istio_gateway_mci resource
google_compute_managed_ssl_certificate.istio_gateway_mci resource
google_compute_ssl_policy.default resource
google_dns_record_set.istio_gateway_mci resource

Inputs

Name Description Type Default Required
gke_fleet_host_project_id The project ID of the GKE Hub host project string "" no
istio_gateway_dns Map of attributes for the Istio gateway domain names, it is also used to create the managed certificate resource
map(object({
managed_zone = string
project = string
}))
{} no
project The ID of the project in which the resource belongs string n/a yes

Outputs

Name Description
istio_gateway_mci_global_address The IP address for the Istio Gateway multi-cluster ingress
istio_gateway_mci_ssl_certificate_name The name of the SSL certificate for the Istio Gateway multi-cluster ingress

πŸ““ Terraform Regional Documentation

About

Terraform example module for Kubernetes Istio service mesh.

https://www.osinfra.io

License:GNU General Public License v2.0


Languages

Language:HCL 100.0%