Skip to content

Commit 3a58a3d

Browse files
authored
Add ChatOps (#63)
1 parent 56ebd8a commit 3a58a3d

File tree

10 files changed

+217
-161
lines changed

10 files changed

+217
-161
lines changed

.github/CODEOWNERS

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Use this file to define individuals or teams that are responsible for code in a repository.
2+
# Read more: <https://help.github.com/articles/about-codeowners/>
3+
#
4+
# Order is important: the last matching pattern takes the most precedence
5+
6+
# These owners will be the default owners for everything
7+
* @cloudposse/engineering @cloudposse/contributors
8+
9+
# Cloud Posse must review any changes to Makefiles
10+
**/Makefile @cloudposse/engineering
11+
**/Makefile.* @cloudposse/engineering
12+
13+
# Cloud Posse must review any changes to GitHub actions
14+
.github/* @cloudposse/engineering
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
Found a bug? Maybe our [Slack Community](https://slack.cloudposse.com) can help.
11+
12+
[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
13+
14+
## Describe the Bug
15+
A clear and concise description of what the bug is.
16+
17+
## Expected Behavior
18+
A clear and concise description of what you expected to happen.
19+
20+
## Steps to Reproduce
21+
Steps to reproduce the behavior:
22+
1. Go to '...'
23+
2. Run '....'
24+
3. Enter '....'
25+
4. See error
26+
27+
## Screenshots
28+
If applicable, add screenshots or logs to help explain your problem.
29+
30+
## Environment (please complete the following information):
31+
32+
Anything that will help us triage the bug will help. Here are some ideas:
33+
- OS: [e.g. Linux, OSX, WSL, etc]
34+
- Version [e.g. 10.15]
35+
36+
## Additional Context
37+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
5+
- name: Community Slack Team
6+
url: https://cloudposse.com/slack/
7+
about: |-
8+
Please ask and answer questions here.
9+
10+
- name: Office Hours
11+
url: https://cloudposse.com/office-hours/
12+
about: |-
13+
Join us every Wednesday for FREE Office Hours (lunch & learn).
14+
15+
- name: DevOps Accelerator Program
16+
url: https://cloudposse.com/accelerate/
17+
about: |-
18+
Own your infrastructure in record time. We build it. You drive it.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'feature request'
6+
assignees: ''
7+
8+
---
9+
10+
Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/).
11+
12+
[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
13+
14+
## Describe the Feature
15+
16+
A clear and concise description of what the bug is.
17+
18+
## Expected Behavior
19+
20+
A clear and concise description of what you expected to happen.
21+
22+
## Use Case
23+
24+
Is your feature request related to a problem/challenge you are trying to solve? Please provide some additional context of why this feature or capability will be valuable.
25+
26+
## Describe Ideal Solution
27+
28+
A clear and concise description of what you want to happen. If you don't know, that's okay.
29+
30+
## Alternatives Considered
31+
32+
Explain what alternative solutions or features you've considered.
33+
34+
## Additional Context
35+
36+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Whitespace-only changes.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## what
2+
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
3+
* Use bullet points to be concise and to the point.
4+
5+
## why
6+
* Provide the justifications for the changes (e.g. business case).
7+
* Describe why these changes were made (e.g. why do these commits fix the problem?)
8+
* Use bullet points to be concise and to the point.
9+
10+
## references
11+
* Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow).
12+
* Use `closes #123`, if this PR closes a GitHub issue `#123`
13+

.github/workflows/chatops.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: chatops
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
default:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: "Handle common commands"
12+
uses: cloudposse/actions/github/slash-command-dispatch@0.15.0
13+
with:
14+
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
15+
reaction-token: ${{ secrets.GITHUB_TOKEN }}
16+
repository: cloudposse/actions
17+
commands: rebuild-readme, terraform-fmt
18+
permission: none
19+
issue-type: pull-request
20+
21+
test:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: "Checkout commit"
25+
uses: actions/checkout@v2
26+
- name: "Run tests"
27+
uses: cloudposse/actions/github/slash-command-dispatch@0.15.0
28+
with:
29+
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
30+
reaction-token: ${{ secrets.GITHUB_TOKEN }}
31+
repository: cloudposse/actions
32+
commands: test
33+
permission: none
34+
issue-type: pull-request
35+
reactions: false
36+
37+

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
[![Cloud Posse][logo]](https://cpco.io/homepage)
4444

45-
# terraform-aws-ec2-instance [![Codefresh Build Status](https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-ec2-instance?type=cf-1)](https://g.codefresh.io/public/accounts/cloudposse/pipelines/5d1a7dc1e38a04899f12f82b) [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-ec2-instance.svg)](https://github.com/cloudposse/terraform-aws-ec2-instance/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
45+
# terraform-aws-ec2-instance [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-ec2-instance.svg)](https://github.com/cloudposse/terraform-aws-ec2-instance/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
4646

4747

4848
Terraform Module for provisioning a general purpose EC2 host.
@@ -281,6 +281,10 @@ We deliver 10x the value for a fraction of the cost of a full-time engineer. Our
281281

282282
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
283283

284+
## Discourse Forums
285+
286+
Participate in our [Discourse Forums][discourse]. Here you'll find answers to commonly asked questions. Most questions will be related to the enormous number of projects we support on our GitHub. Come here to collaborate on answers, find solutions, and get ideas about the products and services we value. It only takes a minute to get started! Just sign in with SSO using your GitHub account.
287+
284288
## Newsletter
285289

286290
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
@@ -408,6 +412,7 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
408412
[testimonial]: https://cpco.io/leave-testimonial?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=testimonial
409413
[office_hours]: https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=office_hours
410414
[newsletter]: https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=newsletter
415+
[discourse]: https://ask.sweetops.com/?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=discourse
411416
[email]: https://cpco.io/email?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=email
412417
[commercial_support]: https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=commercial_support
413418
[we_love_open_source]: https://cpco.io/we-love-open-source?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ec2-instance&utm_content=we_love_open_source

README.yaml

Lines changed: 56 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,39 @@
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
81
name: terraform-aws-ec2-instance
9-
10-
# Tags of this project
112
tags:
12-
- aws
13-
- terraform
14-
- terraform-modules
15-
- platform
16-
- ec2
17-
- instance
18-
- security
19-
- ansible
20-
21-
# Categories of this project
3+
- aws
4+
- terraform
5+
- terraform-modules
6+
- platform
7+
- ec2
8+
- instance
9+
- security
10+
- ansible
2211
categories:
23-
- terraform-modules/platform
24-
25-
# Logo for this project
26-
#logo: docs/logo.png
27-
28-
# License of this project
29-
license: "APACHE2"
30-
31-
# Canonical GitHub repo
12+
- terraform-modules/platform
13+
license: APACHE2
3214
github_repo: cloudposse/terraform-aws-ec2-instance
33-
34-
# Badges to display
3515
badges:
36-
- name: "Codefresh Build Status"
37-
image: "https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-ec2-instance?type=cf-1"
38-
url: "https://g.codefresh.io/public/accounts/cloudposse/pipelines/5d1a7dc1e38a04899f12f82b"
39-
- name: "Latest Release"
40-
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-ec2-instance.svg"
41-
url: "https://github.com/cloudposse/terraform-aws-ec2-instance/releases/latest"
42-
- name: "Slack Community"
43-
image: "https://slack.cloudposse.com/badge.svg"
44-
url: "https://slack.cloudposse.com"
45-
16+
- name: Latest Release
17+
image: https://img.shields.io/github/release/cloudposse/terraform-aws-ec2-instance.svg
18+
url: https://github.com/cloudposse/terraform-aws-ec2-instance/releases/latest
19+
- name: Slack Community
20+
image: https://slack.cloudposse.com/badge.svg
21+
url: https://slack.cloudposse.com
4622
related:
47-
- name: "terraform-aws-ec2-ami-backup"
48-
description: "Terraform module for automatic & scheduled AMI creation"
49-
url: "https://github.com/cloudposse/terraform-aws-ec2-ami-backup"
50-
- name: "terraform-aws-ec2-ami-snapshot"
51-
description: "Terraform module to easily generate AMI snapshots to create replica instances"
52-
url: "https://github.com/cloudposse/terraform-aws-ec2-ami-snapshot"
53-
- name: "terraform-aws-ec2-cloudwatch-sns-alarms"
54-
description: "Terraform module that configures CloudWatch SNS alerts for EC2 instances"
55-
url: "https://github.com/cloudposse/terraform-aws-ec2-cloudwatch-sns-alarms"
56-
- name: "terraform-null-label"
57-
description: "Terraform Module to define a consistent naming convention by (namespace, stage, name, [attributes])"
58-
url: "https://github.com/cloudposse/terraform-null-label"
59-
60-
# Short description of this project
23+
- name: terraform-aws-ec2-ami-backup
24+
description: Terraform module for automatic & scheduled AMI creation
25+
url: https://github.com/cloudposse/terraform-aws-ec2-ami-backup
26+
- name: terraform-aws-ec2-ami-snapshot
27+
description: Terraform module to easily generate AMI snapshots to create replica
28+
instances
29+
url: https://github.com/cloudposse/terraform-aws-ec2-ami-snapshot
30+
- name: terraform-aws-ec2-cloudwatch-sns-alarms
31+
description: Terraform module that configures CloudWatch SNS alerts for EC2 instances
32+
url: https://github.com/cloudposse/terraform-aws-ec2-cloudwatch-sns-alarms
33+
- name: terraform-null-label
34+
description: Terraform Module to define a consistent naming convention by (namespace,
35+
stage, name, [attributes])
36+
url: https://github.com/cloudposse/terraform-null-label
6137
description: |-
6238
Terraform Module for provisioning a general purpose EC2 host.
6339
@@ -66,8 +42,6 @@ description: |-
6642
* Option to switch EIP attachment
6743
* CloudWatch monitoring and automatic reboot if instance hangs
6844
* Assume Role capability
69-
70-
# How to use this project
7145
usage: |-
7246
Note: add `${var.ssh_key_pair}` private key to the `ssh agent`.
7347
@@ -107,36 +81,32 @@ usage: |-
10781
allowed_ports = [22, 80, 443]
10882
}
10983
```
110-
111-
# References
11284
references:
113-
- name: "terraform-aws-ec2-bastion-server"
114-
description: 'Terraform Module to define a generic Bastion host with parameterized user_data'
115-
url: "https://github.com/cloudposse/terraform-aws-ec2-bastion-server"
116-
85+
- name: terraform-aws-ec2-bastion-server
86+
description: Terraform Module to define a generic Bastion host with parameterized
87+
user_data
88+
url: https://github.com/cloudposse/terraform-aws-ec2-bastion-server
11789
include:
118-
- "docs/targets.md"
119-
- "docs/terraform.md"
120-
121-
# Contributors to this project
90+
- docs/targets.md
91+
- docs/terraform.md
12292
contributors:
123-
- name: "Erik Osterman"
124-
github: "osterman"
125-
- name: "Igor Rodionov"
126-
github: "goruha"
127-
- name: "Andriy Knysh"
128-
github: "aknysh"
129-
- name: "Sergey Vasilyev"
130-
github: "s2504s"
131-
- name: "Valeriy"
132-
github: "drama17"
133-
- name: "Ivan Pinatti"
134-
github: "ivan-pinatti"
135-
- name: "Vladimir"
136-
github: "SweetOps"
137-
- name: "Konstantin B"
138-
github: "comeanother"
139-
- name: "Maarten van der Hoef"
140-
github: "maartenvanderhoef"
141-
- name: "Chris Weyl"
142-
github: "rsrchboy"
93+
- name: Erik Osterman
94+
github: osterman
95+
- name: Igor Rodionov
96+
github: goruha
97+
- name: Andriy Knysh
98+
github: aknysh
99+
- name: Sergey Vasilyev
100+
github: s2504s
101+
- name: Valeriy
102+
github: drama17
103+
- name: Ivan Pinatti
104+
github: ivan-pinatti
105+
- name: Vladimir
106+
github: SweetOps
107+
- name: Konstantin B
108+
github: comeanother
109+
- name: Maarten van der Hoef
110+
github: maartenvanderhoef
111+
- name: Chris Weyl
112+
github: rsrchboy

0 commit comments

Comments
 (0)