Skip to content

Commit dad273b

Browse files
committed
chore: Update repo for destination organization
1 parent 187771b commit dad273b

File tree

20 files changed

+75
-148
lines changed

20 files changed

+75
-148
lines changed

.github/.gitkeep

Whitespace-only changes.

.github/CODEOWNERS

-2
This file was deleted.

.github/CODE_OF_CONDUCT.md

-76
This file was deleted.

.github/workflows/lock.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
lock:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: dessant/lock-threads@v3
11+
- uses: dessant/lock-threads@v4
1212
with:
1313
github-token: ${{ secrets.GITHUB_TOKEN }}
1414
issue-comment: >

.github/workflows/pre-commit.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
TERRAFORM_DOCS_VERSION: v0.16.0
11+
TFLINT_VERSION: v0.44.1
1112

1213
jobs:
1314
collectInputs:
@@ -46,6 +47,7 @@ jobs:
4647
uses: clowdhaus/terraform-composite-actions/[email protected]
4748
with:
4849
terraform-version: ${{ steps.minMax.outputs.minVersion }}
50+
tflint-version: ${{ env.TFLINT_VERSION }}
4951
args: 'terraform_validate --color=always --show-diff-on-failure --files ${{ matrix.directory }}/*'
5052

5153
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
@@ -54,6 +56,7 @@ jobs:
5456
uses: clowdhaus/terraform-composite-actions/[email protected]
5557
with:
5658
terraform-version: ${{ steps.minMax.outputs.minVersion }}
59+
tflint-version: ${{ env.TFLINT_VERSION }}
5760
args: 'terraform_validate --color=always --show-diff-on-failure --files $(ls *.tf)'
5861

5962
preCommitMaxVersion:
@@ -75,5 +78,6 @@ jobs:
7578
uses: clowdhaus/terraform-composite-actions/[email protected]
7679
with:
7780
terraform-version: ${{ steps.minMax.outputs.maxVersion }}
81+
tflint-version: ${{ env.TFLINT_VERSION }}
7882
terraform-docs-version: ${{ env.TERRAFORM_DOCS_VERSION }}
7983
install-hcledit: true
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
name: Release
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
8+
- master
79
paths:
8-
- '**.tf'
9-
- '!examples/**.tf'
10+
- '**/*.tpl'
11+
- '**/*.py'
12+
- '**/*.tf'
13+
- '.github/workflows/release.yml'
1014

1115
jobs:
1216
release:
1317
name: Release
1418
runs-on: ubuntu-latest
19+
# Skip running release workflow on forks
20+
if: github.repository_owner == 'terraform-aws-modules'
1521
steps:
1622
- name: Checkout
1723
uses: actions/checkout@v3
1824
with:
19-
fetch-depth: 0
2025
persist-credentials: false
21-
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v3
24-
with:
25-
node-version: 16
26+
fetch-depth: 0
2627

2728
- name: Release
2829
uses: cycjimmy/semantic-release-action@v3
@@ -33,4 +34,4 @@ jobs:
3334
@semantic-release/[email protected]
3435
3536
env:
36-
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
37+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

.releaserc.json

+27-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"branches": [
3-
"main"
3+
"main",
4+
"master"
45
],
6+
"ci": false,
57
"plugins": [
68
[
79
"@semantic-release/commit-analyzer",
@@ -15,6 +17,29 @@
1517
"preset": "conventionalcommits"
1618
}
1719
],
18-
"@semantic-release/github"
20+
[
21+
"@semantic-release/github",
22+
{
23+
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
24+
"labels": false,
25+
"releasedLabels": false
26+
}
27+
],
28+
[
29+
"@semantic-release/changelog",
30+
{
31+
"changelogFile": "CHANGELOG.md",
32+
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
33+
}
34+
],
35+
[
36+
"@semantic-release/git",
37+
{
38+
"assets": [
39+
"CHANGELOG.md"
40+
],
41+
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
42+
}
43+
]
1944
]
2045
}

LICENSE

-25
Original file line numberDiff line numberDiff line change
@@ -174,28 +174,3 @@
174174
of your accepting any such warranty or additional liability.
175175

176176
END OF TERMS AND CONDITIONS
177-
178-
APPENDIX: How to apply the Apache License to your work.
179-
180-
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
182-
replaced with your own identifying information. (Don't include
183-
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. We also recommend that a
185-
file or class name and description of purpose be included on the
186-
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
188-
189-
Copyright 2022 Clowd Haus, LLC.
190-
191-
Licensed under the Apache License, Version 2.0 (the "License");
192-
you may not use this file except in compliance with the License.
193-
You may obtain a copy of the License at
194-
195-
http://www.apache.org/licenses/LICENSE-2.0
196-
197-
Unless required by applicable law or agreed to in writing, software
198-
distributed under the License is distributed on an "AS IS" BASIS,
199-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200-
See the License for the specific language governing permissions and
201-
limitations under the License.

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Terraform module which creates AWS ElastiCache resources.
66

77
## Usage
88

9-
See [`examples`](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples) directory for working examples to reference:
9+
See [`examples`](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples) directory for working examples to reference:
1010

1111
### Memcached Cluster
1212

1313
```hcl
1414
module "elasticache" {
15-
source = "clowdhaus/elasticache/aws"
15+
source = "terraform-aws-modules/elasticache/aws"
1616
1717
cluster_id = "example-memcached"
1818
create_cluster = true
@@ -62,7 +62,7 @@ module "elasticache" {
6262

6363
```hcl
6464
module "elasticache" {
65-
source = "clowdhaus/elasticache/aws"
65+
source = "terraform-aws-modules/elasticache/aws"
6666
6767
cluster_id = "example-redis"
6868
create_cluster = true
@@ -109,7 +109,7 @@ module "elasticache" {
109109

110110
```hcl
111111
module "elasticache" {
112-
source = "clowdhaus/elasticache/aws"
112+
source = "terraform-aws-modules/elasticache/aws"
113113
114114
replication_group_id = "example-redis-cluster"
115115
@@ -158,7 +158,7 @@ module "elasticache" {
158158

159159
```hcl
160160
module "elasticache_primary" {
161-
source = "clowdhaus/elasticache/aws"
161+
source = "terraform-aws-modules/elasticache/aws"
162162
163163
replication_group_id = "example-redis-global-replication-group"
164164
create_primary_global_replication_group = true
@@ -191,7 +191,7 @@ module "elasticache_primary" {
191191
}
192192
193193
module "elasticache_secondary" {
194-
source = "clowdhaus/elasticache/aws"
194+
source = "terraform-aws-modules/elasticache/aws"
195195
196196
providers = {
197197
aws = aws.other_region
@@ -225,7 +225,7 @@ module "elasticache_secondary" {
225225

226226
```hcl
227227
module "elasticache" {
228-
source = "clowdhaus/elasticache/aws"
228+
source = "terraform-aws-modules/elasticache/aws"
229229
230230
replication_group_id = "example-redis-replication-group"
231231
@@ -270,13 +270,13 @@ module "elasticache" {
270270

271271
## Examples
272272

273-
Examples codified under the [`examples`](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples) are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!
273+
Examples codified under the [`examples`](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples) are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!
274274

275-
- [Memcached Cluster](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples/memcached-cluster)
276-
- [Redis Cluster](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples/redis-cluster)
277-
- [Redis Cluster Mode](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples/redis-cluster-mode)
278-
- [Redis Global Replication Group](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples/redis-global-replication-group)
279-
- [Redis Replication Group](https://github.com/clowdhaus/terraform-aws-elasticache/tree/main/examples/redis-replication-group)
275+
- [Memcached Cluster](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/memcached-cluster)
276+
- [Redis Cluster](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/redis-cluster)
277+
- [Redis Cluster Mode](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/redis-cluster-mode)
278+
- [Redis Global Replication Group](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/redis-global-replication-group)
279+
- [Redis Replication Group](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/redis-replication-group)
280280

281281
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
282282
## Requirements
@@ -414,4 +414,4 @@ No modules.
414414

415415
## License
416416

417-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
417+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/memcached-cluster/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ No inputs.
7575
| <a name="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name) | The ElastiCache subnet group name |
7676
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7777

78-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
78+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/memcached-cluster/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ locals {
1414
tags = {
1515
Name = local.name
1616
Example = local.name
17-
Repository = "https://github.com/clowdhaus/terraform-aws-elasticache"
17+
Repository = "https://github.com/terraform-aws-modules/terraform-aws-elasticache"
1818
}
1919
}
2020

examples/redis-cluster-mode/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ No inputs.
7777
| <a name="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name) | The ElastiCache subnet group name |
7878
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7979

80-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
80+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/redis-cluster-mode/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ locals {
1414
tags = {
1515
Name = local.name
1616
Example = local.name
17-
Repository = "https://github.com/clowdhaus/terraform-aws-elasticache"
17+
Repository = "https://github.com/terraform-aws-modules/terraform-aws-elasticache"
1818
}
1919
}
2020

examples/redis-cluster/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ No inputs.
7575
| <a name="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name) | The ElastiCache subnet group name |
7676
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7777

78-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
78+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/redis-cluster/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ locals {
1414
tags = {
1515
Name = local.name
1616
Example = local.name
17-
Repository = "https://github.com/clowdhaus/terraform-aws-elasticache"
17+
Repository = "https://github.com/terraform-aws-modules/terraform-aws-elasticache"
1818
}
1919
}
2020

examples/redis-global-replication-group/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ No inputs.
8282
| <a name="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name) | The ElastiCache subnet group name |
8383
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
8484

85-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
85+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/redis-global-replication-group/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ locals {
2222
tags = {
2323
Name = local.name
2424
Example = local.name
25-
Repository = "https://github.com/clowdhaus/terraform-aws-elasticache"
25+
Repository = "https://github.com/terraform-aws-modules/terraform-aws-elasticache"
2626
}
2727
}
2828

examples/redis-replication-group/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ No inputs.
7474
| <a name="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name) | The ElastiCache subnet group name |
7575
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7676

77-
Apache-2.0 Licensed. See [LICENSE](https://github.com/clowdhaus/terraform-aws-elasticache/blob/main/LICENSE).
77+
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-elasticache/blob/master/LICENSE).

examples/redis-replication-group/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ locals {
1414
tags = {
1515
Name = local.name
1616
Example = local.name
17-
Repository = "https://github.com/clowdhaus/terraform-aws-elasticache"
17+
Repository = "https://github.com/terraform-aws-modules/terraform-aws-elasticache"
1818
}
1919
}
2020

0 commit comments

Comments
 (0)