Skip to content

Commit 6faeb7e

Browse files
authored
Update readme (#2)
* Update readme * update readme * add chatops
1 parent 29ec4b1 commit 6faeb7e

File tree

4 files changed

+59
-10
lines changed

4 files changed

+59
-10
lines changed

.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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747

4848
This is `terraform-example-module` project provides all the scaffolding for a typical well-built Cloud Posse module. It's a template repository you can
49-
use when creating new repositories.
49+
use when creating new repositories.
5050

5151

5252
---
@@ -120,7 +120,7 @@ Available targets:
120120

121121
| Name | Version |
122122
|------|---------|
123-
| terraform | ~> 0.12.0 |
123+
| terraform | >= 0.12.0, < 0.14.0 |
124124
| local | ~> 1.2 |
125125
| random | ~> 2.2 |
126126

@@ -165,7 +165,10 @@ Check out these related projects.
165165

166166
For additional context, refer to some of these links.
167167

168+
- [Terraform Standard Module Structure](https://www.terraform.io/docs/modules/index.html#standard-module-structure) - HashiCorp's standard module structure is a file and directory layout we recommend for reusable modules distributed in separate repositories.
169+
- [Terraform Module Requirements](https://www.terraform.io/docs/registry/modules/publish.html#requirements) - HashiCorp's guidance on all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy.
168170
- [Terraform `random_integer` Resource](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer) - The resource random_integer generates random values from a given range, described by the min and max attributes of a given resource.
171+
- [Terraform Version Pinning](https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version) - The required_version setting can be used to constrain which versions of the Terraform CLI can be used with your configuration
169172

170173

171174
## Help
@@ -240,7 +243,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
240243

241244
## Copyrights
242245

243-
Copyright © 2016-2020 [Cloud Posse, LLC](https://cloudposse.com)
246+
Copyright © 2020-2020 [Cloud Posse, LLC](https://cloudposse.com)
244247

245248

246249

README.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
#
2+
#
33
# This is the canonical configuration for the `README.md`
44
# Run `make readme` to rebuild the `README.md`
55
#
@@ -17,9 +17,9 @@ license: "APACHE2"
1717
copyrights:
1818
- name: "Cloud Posse, LLC"
1919
url: "https://cloudposse.com"
20-
year: "2016"
20+
year: "2020"
2121

22-
# Canonical GitHub repo
22+
# Canonical GitHub repo
2323
github_repo: cloudposse/terraform-example-module
2424

2525
# Badges to display
@@ -42,15 +42,24 @@ related:
4242

4343
# List any resources helpful for someone to get started. For example, link to the hashicorp documentation or AWS documentation.
4444
references:
45+
- name: "Terraform Standard Module Structure"
46+
description: "HashiCorp's standard module structure is a file and directory layout we recommend for reusable modules distributed in separate repositories."
47+
url: "https://www.terraform.io/docs/modules/index.html#standard-module-structure"
48+
- name: "Terraform Module Requirements"
49+
description: "HashiCorp's guidance on all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy."
50+
url: "https://www.terraform.io/docs/registry/modules/publish.html#requirements"
4551
- name: "Terraform `random_integer` Resource"
4652
description: "The resource random_integer generates random values from a given range, described by the min and max attributes of a given resource."
4753
url: "https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer"
54+
- name: "Terraform Version Pinning"
55+
description: "The required_version setting can be used to constrain which versions of the Terraform CLI can be used with your configuration"
56+
url: "https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version"
4857

4958
# Short description of this project
5059
description: |-
5160
This is `terraform-example-module` project provides all the scaffolding for a typical well-built Cloud Posse module. It's a template repository you can
52-
use when creating new repositories.
53-
61+
use when creating new repositories.
62+
5463
# Introduction to the project
5564
#introduction: |-
5665
# This is an introduction.
@@ -74,7 +83,7 @@ examples: |-
7483
# How to get started quickly
7584
#quickstart: |-
7685
# Here's how to get started...
77-
86+
7887
# Other files to include in this README from the project folder
7988
include:
8089
- "docs/targets.md"

docs/terraform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
| Name | Version |
44
|------|---------|
5-
| terraform | ~> 0.12.0 |
5+
| terraform | >= 0.12.0, < 0.14.0 |
66
| local | ~> 1.2 |
77
| random | ~> 2.2 |
88

0 commit comments

Comments
 (0)