This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
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
1886403
commit 3c7f503
Showing
7 changed files
with
265 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
.terraform/ | ||
.idea | ||
*.iml | ||
|
||
.build-harness | ||
build-harness |
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,6 +1,10 @@ | ||
SHELL := /bin/bash | ||
|
||
# List of targets the `readme` target should call before generating the readme | ||
export README_DEPS ?= docs/targets.md docs/terraform.md | ||
|
||
-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness) | ||
|
||
## Lint terraform code | ||
lint: | ||
$(SELF) terraform/install terraform/get-modules terraform/get-plugins terraform/lint terraform/validate | ||
$(SELF) terraform/install terraform/get-modules terraform/get-plugins terraform/lint terraform/validate |
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,87 @@ | ||
--- | ||
# | ||
# This is the canonical configuration for the `README.md` | ||
# Run `make readme` to rebuild the `README.md` | ||
# | ||
|
||
# Name of this project | ||
name: terraform-aws-kops-vpc-peering | ||
|
||
# Logo for this project | ||
#logo: docs/logo.png | ||
|
||
# License of this project | ||
license: "APACHE2" | ||
|
||
# Canonical GitHub repo | ||
github_repo: cloudposse/terraform-aws-kops-vpc-peering | ||
|
||
# Badges to display | ||
badges: | ||
- name: "Build Status" | ||
image: "https://travis-ci.org/cloudposse/terraform-aws-kops-vpc-peering.svg?branch=master" | ||
url: "https://travis-ci.org/cloudposse/terraform-aws-kops-vpc-peering" | ||
- name: "Latest Release" | ||
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-kops-vpc-peering.svg" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-vpc-peering/releases/latest" | ||
- name: "Slack Community" | ||
image: "https://slack.cloudposse.com/badge.svg" | ||
url: "https://slack.cloudposse.com" | ||
|
||
related: | ||
- name: "terraform-aws-kops-metadata" | ||
description: "Terraform module to lookup resources within a Kops cluster for easier integration with Terraform" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-metadata" | ||
- name: "terraform-aws-kops-ecr" | ||
description: "Terraform module to provision an ECR repository and grant users and kubernetes nodes access to it." | ||
url: "https://github.com/cloudposse/terraform-aws-kops-ecr" | ||
- name: "terraform-aws-kops-state-backend" | ||
description: "Easily bootstrap kops clusters (DNS & S3 Bucket)" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-state-backend" | ||
- name: "terraform-aws-kops-external-dns" | ||
description: "Terraform module to provision an IAM role for external-dns running in a Kops cluster, and attach an IAM policy to the role with permissions to modify Route53 record sets" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-external-dns" | ||
- name: "terraform-aws-kops-route53" | ||
description: "Terraform module to lookup the IAM role associated with `kops` masters, and attach an IAM policy to the role with permissions to modify Route53 record sets" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-route53" | ||
- name: "terraform-aws-kops-vault-backend" | ||
description: "Terraform module to provision an S3 bucket for HashiCorp Vault secrets storage, and an IAM role and policy with permissions for Kops nodes to access the bucket" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-vault-backend" | ||
- name: "terraform-aws-kops-chart-repo" | ||
description: "Terraform module to provision an S3 bucket for Helm chart repository, and an IAM role and policy with permissions for Kops nodes to access the bucket" | ||
url: "https://github.com/cloudposse/terraform-aws-kops-chart-repo" | ||
|
||
# Short description of this project | ||
description: |- | ||
Terraform module to create a peering connection between a backing services VPC and a VPC created by [Kops](https://github.com/kubernetes/kops). | ||
The module depends on the following [Cloud Posse][website] Terraform modules | ||
- [terraform-aws-kops-metadata](https://github.com/cloudposse/terraform-aws-kops-metadata) - to lookup resources within a Kops cluster | ||
- [terraform-aws-vpc-peering](https://github.com/cloudposse/terraform-aws-vpc-peering) - to create a peering connection between two VPCs | ||
# How to use this project | ||
usage: |- | ||
```hcl | ||
module "kops_vpc_peering" { | ||
source = "git::https://github.com/cloudposse/terraform-aws-kops-vpc-peering.git?ref=master" | ||
namespace = "cp" | ||
stage = "dev" | ||
name = "cluster" | ||
backing_services_vpc_id = "vpc-XXXXXXXX" | ||
dns_zone = "us-west-2.domain.com" | ||
bastion_name = "bastion" | ||
masters_name = "masters" | ||
nodes_name = "nodes" | ||
backing_services_allow_remote_vpc_dns_resolution = "true" | ||
} | ||
``` | ||
include: | ||
- "docs/targets.md" | ||
- "docs/terraform.md" | ||
|
||
# Contributors to this project | ||
contributors: | ||
- name: "Andriy Knysh" | ||
github: "aknysh" |
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,9 @@ | ||
## Makefile Targets | ||
``` | ||
Available targets: | ||
help This help screen | ||
help/all Display help for all targets | ||
lint Lint terraform code | ||
``` |
Oops, something went wrong.