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

Commit fc4483f

Browse files
committed
Add basic Terraform module scaffold
0 parents  commit fc4483f

File tree

4 files changed

+135
-0
lines changed

4 files changed

+135
-0
lines changed

Diff for: .gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Local .terraform directories
2+
**/.terraform/*
3+
4+
# .tfstate files
5+
*.tfstate
6+
*.tfstate.*
7+
8+
# .tfvars files
9+
*.tfvars
10+
11+
**/.idea
12+
**/*.iml
13+
14+
**/.build-harness
15+
**/build-harness

Diff for: .travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
addons:
2+
apt:
3+
packages:
4+
- git
5+
- make
6+
- curl
7+
8+
install:
9+
- make init
10+
11+
script:
12+
- make terraform/install
13+
- make terraform/get-plugins
14+
- make terraform/get-modules
15+
- make terraform/lint
16+
- make terraform/validate

Diff for: Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
SHELL := /bin/bash
2+
3+
# List of targets the `readme` target should call before generating the readme
4+
export README_DEPS ?= docs/targets.md docs/terraform.md
5+
6+
-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness)
7+
8+
## Lint terraform code
9+
lint:
10+
$(SELF) terraform/install terraform/get-modules terraform/get-plugins terraform/lint terraform/validate

Diff for: README.yaml

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
#
3+
# This is the canonical configuration for the `README.md`
4+
# Run `make readme` to rebuild the `README.md`
5+
#
6+
7+
# Name of this project
8+
name: terraform-aws-codefresh-backing-services
9+
10+
# Logo for this project
11+
#logo: docs/logo.png
12+
13+
# License of this project
14+
license: "APACHE2"
15+
16+
# Canonical GitHub repo
17+
github_repo: cloudposse/terraform-aws-codefresh-backing-services
18+
19+
# Badges to display
20+
badges:
21+
- name: "Build Status"
22+
image: "https://travis-ci.org/cloudposse/terraform-aws-codefresh-backing-services.svg?branch=master"
23+
url: "https://travis-ci.org/cloudposse/terraform-aws-codefresh-backing-services"
24+
- name: "Latest Release"
25+
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-codefresh-backing-services.svg"
26+
url: "https://github.com/cloudposse/terraform-aws-codefresh-backing-services/releases/latest"
27+
- name: "Slack Community"
28+
image: "https://slack.cloudposse.com/badge.svg"
29+
url: "https://slack.cloudposse.com"
30+
31+
related:
32+
- name: "terraform-null-label"
33+
description: "Terraform Module to define a consistent naming convention by (namespace, stage, name, [attributes])"
34+
url: "https://github.com/cloudposse/terraform-null-label"
35+
- name: "terraform-aws-rds-cluster"
36+
description: "Terraform module to provision an RDS Aurora cluster for MySQL or Postgres"
37+
url: "https://github.com/cloudposse/terraform-aws-rds-cluster"
38+
- name: "terraform-aws-route53-cluster-hostname"
39+
description: "Terraform module to define a consistent AWS Route53 hostname"
40+
url: "https://github.com/cloudposse/terraform-aws-route53-cluster-hostname"
41+
- name: "terraform-aws-kops-metadata"
42+
description: "Terraform module to lookup resources within a Kops cluster for easier integration with Terraform"
43+
url: "https://github.com/cloudposse/terraform-aws-kops-metadata"
44+
- name: "terraform-aws-elasticache-redis"
45+
description: "Terraform module to provision an ElastiCache Redis Cluster"
46+
url: "https://github.com/cloudposse/terraform-aws-elasticache-redis"
47+
- name: "terraform-aws-rds-cluster-instance-group"
48+
description: "Terraform module to provision an RDS cluster instance pool with a dedicated endpoint"
49+
url: "https://github.com/cloudposse/terraform-aws-rds-cluster-instance-group"
50+
- name: "terraform-aws-vpc"
51+
description: "Terraform Module that defines a VPC with public/private subnets across multiple AZs with Internet Gateways"
52+
url: "https://github.com/cloudposse/terraform-aws-vpc"
53+
- name: "terraform-aws-dynamic-subnets"
54+
description: "Terraform module for public and private subnets provisioning in existing VPC"
55+
url: "https://github.com/cloudposse/terraform-aws-dynamic-subnets"
56+
57+
# Short description of this project
58+
description: |-
59+
Terraform module to provision CodeFresh Enterprise backing services for usage with a kops cluster
60+
61+
introduction: |-
62+
The module provisions the following resources:
63+
- AWS Aurora primary
64+
- AWS Aurora read replica
65+
- AWS Elasticache Redis
66+
- AWS AmazonMQ (ActiveMQ)
67+
68+
# How to use this project
69+
usage: |-
70+
71+
For a complete example, see [examples/complete](examples/complete)
72+
TODO
73+
74+
75+
include:
76+
- "docs/targets.md"
77+
- "docs/terraform.md"
78+
79+
# Contributors to this project
80+
contributors:
81+
- name: "Erik Osterman"
82+
homepage: "https://github.com/osterman"
83+
avatar: "http://s.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb?s=144"
84+
github: "osterman"
85+
- name: "Andriy Knysh"
86+
homepage: "https://github.com/aknysh/"
87+
avatar: "https://avatars0.githubusercontent.com/u/7356997?v=4&u=ed9ce1c9151d552d985bdf5546772e14ef7ab617&s=144"
88+
github: "aknysh"
89+
- name: "Igor Rodionov"
90+
homepage: "https://github.com/goruha/"
91+
avatar: "http://s.gravatar.com/avatar/bc70834d32ed4517568a1feb0b9be7e2?s=144"
92+
github: "goruha"
93+
- name: "Josh Myers"
94+
github: "joshmyers"

0 commit comments

Comments
 (0)