Skip to content

Commit 9ca888d

Browse files
committed
feat: auto changelog action added and _example main.tf updated
1 parent 7604abf commit 9ca888d

File tree

7 files changed

+147
-58
lines changed

7 files changed

+147
-58
lines changed

.github/workflows/changelog.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: changelog
2+
permissions: write-all
3+
4+
on:
5+
push:
6+
tags:
7+
- "*"
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
jobs:
11+
call-workflow-changelog:
12+
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
13+
with:
14+
branch: 'master'

.github/workflows/tfsec.yml

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,14 @@
11
name: tfsec
2+
permissions: write-all
3+
24
on:
35
pull_request:
46

7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
59
jobs:
6-
tfsec:
7-
name: tfsec sarif report
8-
runs-on: ubuntu-latest
9-
10-
steps:
11-
- name: Clone repo
12-
uses: actions/checkout@master
13-
14-
- name: tfsec
15-
uses: aquasecurity/tfsec-sarif-action@v0.1.0
16-
with:
17-
sarif_file: tfsec.sarif
18-
working_directory: ./_example/
19-
full_repo_scan: true
20-
21-
- name: Upload SARIF file
22-
uses: github/codeql-action/upload-sarif@v1
23-
with:
24-
# Path to SARIF file relative to the root of the repository
25-
sarif_file: tfsec.sarif
26-
27-
- name: tfsec commenter for PR
28-
uses: tfsec/tfsec-pr-commenter-action@main
29-
with:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB}}
31-
working_directory: ./_example/
32-
33-
- name: 'Terraform security scan Advanced'
34-
uses: triat/terraform-security-scan@v3.0.3
35-
if: github.event_name == 'pull_request'
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB}}
38-
tfsec_actions_working_dir: ./_example/
39-
tfsec_actions_comment: true
40-
tfsec_output_format: sarif
41-
continue-on-error: true
10+
call-workflow-tfsec:
11+
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
12+
secrets: inherit
13+
with:
14+
working_directory: './'

CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [1.0.4] - 2023-04-05
8+
### :bug: Bug Fixes
9+
- [`019d7dd`](https://github.com/clouddrove/terraform-aws-elasticache/commit/019d7dd7daae3b49a1a24e94adf7f56c657ffdc6) - updated deprecated variables
10+
- [`55d833a`](https://github.com/clouddrove/terraform-aws-elasticache/commit/55d833a0fac8420284db0a06379c750b215d511a) - update workflows
11+
12+
## [1.0.3] - 2022-09-16
13+
### :bug: Bug Fixes
14+
- [`72c7b9f`](https://github.com/clouddrove/terraform-aws-elasticache/commit/72c7b9f70a3e9dfe5a6d1e41535575cbc2cb6668) - added arn outputs for redis/memcache
15+
16+
## [1.0.2] - 2022-08-18
17+
### :sparkles: New Features
18+
- [`93a2d36`](https://github.com/clouddrove/terraform-aws-elasticache/commit/93a2d36bc8dc8e153f04b4b286143c6fe7ecb940) - added retention_in_days
19+
20+
21+
## [1.0.1] - 2022-05-19
22+
### :sparkles: New Features
23+
- [`272aa17`](https://github.com/clouddrove/terraform-aws-elasticache/commit/272aa17ab7d4a038cf0e37ebd7d1abf25c30095d) - add cloudwatch_log_group and enabled redis logs
24+
25+
## [0.15.1] - 2021-12-03
26+
### :bug: Bug Fixes
27+
- [`41eb6a8`](https://github.com/clouddrove/terraform-aws-elasticache/commit/41eb6a841f205e5c15ebccec260e8aabcbb3988c) - update version
28+
- [`6157bfa`](https://github.com/clouddrove/terraform-aws-elasticache/commit/6157bfa79ca7a3a607daacac9e8fbfe385c03813) - update github-action
29+
30+
31+
## [0.12.7] - 2021-08-17
32+
33+
## [0.15.0] - 2021-01-24
34+
### :bug: Bug Fixes
35+
- [`c5f7937`](https://github.com/clouddrove/terraform-aws-elasticache/commit/c5f7937cfc2215201c2f9d8a035b9de96139cd89) - added extra_tags variable for custom tags
36+
- [`6405934`](https://github.com/clouddrove/terraform-aws-elasticache/commit/640593463a0c125818ed536da31be5e8180dca98) - update example.tf and added coustom tags with tag variable
37+
- [`f2076be`](https://github.com/clouddrove/terraform-aws-elasticache/commit/f2076be7d25a2d757d10841f49100888e0a1bd36) - fix terratest
38+
- [`1a9f237`](https://github.com/clouddrove/terraform-aws-elasticache/commit/1a9f2375e111d41ad63062223eb53afd5a669a4d) - fix terratest
39+
40+
## [0.14.0] - 2021-05-10
41+
### :bug: Bug Fixes
42+
- [`9d3aea3`](https://github.com/clouddrove/terraform-aws-elasticache/commit/9d3aea30030b2a5e59a8e44163477eb416690ef5) - upgrade redis version in example
43+
- [`eef1a37`](https://github.com/clouddrove/terraform-aws-elasticache/commit/eef1a37695dce7012188f9e919de0626ca780117) - upgrade terraform version 0.15
44+
45+
## [0.13.0] - 2020-20-23
46+
### :bug: Bug Fixes
47+
- [`85acad0`](https://github.com/clouddrove/terraform-aws-elasticache/commit/85acad025ecdcb09520ba534cf9ed76c3424411f) - snapshot_retention_limit
48+
- [`3c7cd8a`](https://github.com/clouddrove/terraform-aws-elasticache/commit/3c7cd8aa922f0d83552ba34f4e46b9a91c4533e9) - fix the security bugs
49+
- [`0f9e401`](https://github.com/clouddrove/terraform-aws-elasticache/commit/0f9e401c990bfdf346ebfdde8fed91bd5e51a335) - Upgrade terraform version to 0.14 and update
50+
- [`dda84e7`](https://github.com/clouddrove/terraform-aws-elasticache/commit/dda84e77616114c7120000955d1fd960475b30e8) - precommit updated
51+
52+
## [0.12.6] - 2020-06-10
53+
### :bug: Bug Fixes
54+
- [`03ab463`](https://github.com/clouddrove/terraform-aws-elasticache/commit/03ab463cd2e94cba60ff796a037c967c39bd2b97) - terraform.yml changes
55+
- [`4b5613a`](https://github.com/clouddrove/terraform-aws-elasticache/commit/4b5613aacb419cde8ba7a994578c5847a8dd79a4) - upgrade terrafomr to 0.13
56+
57+
## [0.12.5] - 2020-05-25
58+
### :sparkles: New Features
59+
- [`7295372`](https://github.com/clouddrove/terraform-aws-elasticache/commit/72953724964b3890f53ed09cb959d2e1963cabc1) - add kms for encryption
60+
61+
## [0.12.4] - 2020-03-30
62+
### :bug: Bug Fixes
63+
- [`5af4c3d`](https://github.com/clouddrove/terraform-aws-elasticache/commit/5af4c3dc475fe8699f61d4d4984d73dbe738066e) - create variable for description
64+
- [`dbad321`](https://github.com/clouddrove/terraform-aws-elasticache/commit/dbad321e2b42942b866ca278f740de205d502adb) - Split endpoint to redis_endpoint_address and memcached_endpoint_address
65+
- [`d8ffe30`](https://github.com/clouddrove/terraform-aws-elasticache/commit/d8ffe304d87caed73d18dd8195d393dbf5f0f5eb) - Add endpoint address
66+
67+
## [0.12.3] - 2020-01-23
68+
### :bug: Bug Fixes
69+
- [`50ee184`](https://github.com/clouddrove/terraform-aws-elasticache/commit/50ee184da31b10caccde1608a4219c1fb98a48f2) - fix labels managedby variables
70+
71+
## [0.12.2] - 2019-12-30
72+
### :bug: Bug Fixes
73+
- [`3fdc09a`](https://github.com/clouddrove/terraform-aws-elasticache/commit/3fdc09aa401b09129bafbb88c10e64c149f52b43) - add bool option
74+
75+
## [0.12.1] - 2019-09-24
76+
### :bug: Bug Fixes
77+
- [`aafb837`](https://github.com/clouddrove/terraform-aws-elasticache/commit/aafb8370afe4e4c3f9b914d77e61b2a86b2c456d) - github action
78+
79+
## [0.12.0] - 2019-09-12
80+
### :bug: Bug Fixes
81+
- [`e3a1d17`](https://github.com/clouddrove/terraform-aws-elasticache/commit/e3a1d171cbec5d78b69f662497cad25a8c9f4d30) - change output syntax
82+
83+
84+
[0.12.0]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.0...master
85+
[0.12.1]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.1...master
86+
[0.12.2]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.2...master
87+
[0.12.3]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.3...master
88+
[0.12.4]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.4...master
89+
[0.12.5]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.5...master
90+
[0.12.6]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.12.6...master
91+
[0.13.0]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.13.0...master
92+
[0.14.0]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.14.0...master
93+
[0.15.0]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.15.0...master
94+
[0.12.7]: https://github.com/clouddrove/terraform-aws-elasticache/releases/tag/0.12.7
95+
[0.15.1]: https://github.com/clouddrove/terraform-aws-elasticache/compare/0.15.1...master
96+
[1.0.1]: https://github.com/clouddrove/terraform-aws-elasticache/compare/1.0.1...master
97+
[1.0.2]: https://github.com/clouddrove/terraform-aws-elasticache/compare/1.0.2...master
98+
[1.0.3]: https://github.com/clouddrove/terraform-aws-elasticache/compare/1.0.3...master
99+
[1.0.4]: https://github.com/clouddrove/terraform-aws-elasticache/compare/1.0.4...master
100+

_example/memcached/example.tf

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "clouddrove/vpc/aws"
7-
version = "0.15.1"
7+
version = "1.3.0"
88

99
name = "vpc"
1010
environment = "test"
@@ -16,7 +16,7 @@ module "vpc" {
1616

1717
module "subnets" {
1818
source = "clouddrove/subnet/aws"
19-
version = "0.15.3"
19+
version = "1.3.0"
2020

2121
name = "subnets"
2222
environment = "test"
@@ -32,7 +32,7 @@ module "subnets" {
3232

3333
module "memcached-sg" {
3434
source = "clouddrove/security-group/aws"
35-
version = "1.0.1"
35+
version = "1.3.0"
3636

3737
name = "memcached-sg"
3838
environment = "test"
@@ -50,18 +50,18 @@ module "memcached" {
5050
environment = "test"
5151
label_order = ["name", "environment"]
5252

53-
cluster_enabled = true
54-
engine = "memcached"
55-
engine_version = "1.5.10"
56-
family = "memcached1.5"
57-
parameter_group_name = "default.memcached1.5"
58-
az_mode = "cross-az"
59-
port = 11211
60-
node_type = "cache.t2.micro"
61-
num_cache_nodes = 2
62-
subnet_ids = module.subnets.public_subnet_id
63-
security_group_ids = [module.memcached-sg.security_group_ids]
64-
availability_zones = ["eu-west-1a", "eu-west-1b"]
53+
cluster_enabled = true
54+
engine = "memcached"
55+
engine_version = "1.5.10"
56+
family = "memcached1.5"
57+
parameter_group_name = "default.memcached1.5"
58+
az_mode = "cross-az"
59+
port = 11211
60+
node_type = "cache.t2.micro"
61+
num_cache_nodes = 2
62+
subnet_ids = module.subnets.public_subnet_id
63+
security_group_ids = [module.memcached-sg.security_group_ids]
64+
availability_zones = ["eu-west-1a", "eu-west-1b"]
6565
extra_tags = {
6666
Application = "CloudDrove"
6767
}

_example/redis-cluster/example.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "clouddrove/vpc/aws"
7-
version = "0.15.1"
7+
version = "1.3.0"
88

99
name = "vpc"
1010
environment = "test"
@@ -15,7 +15,7 @@ module "vpc" {
1515

1616
module "subnets" {
1717
source = "clouddrove/subnet/aws"
18-
version = "0.15.3"
18+
version = "1.3.0"
1919

2020
name = "subnets"
2121
environment = "test"
@@ -30,7 +30,7 @@ module "subnets" {
3030

3131
module "redis-sg" {
3232
source = "clouddrove/security-group/aws"
33-
version = "1.0.1"
33+
version = "1.3.0"
3434

3535
name = "redis-sg"
3636
environment = "test"
@@ -60,6 +60,7 @@ module "redis-cluster" {
6060
auto_minor_version_upgrade = true
6161
replicas_per_node_group = 2
6262
num_node_groups = 1
63+
snapshot_retention_limit = 7
6364
automatic_failover_enabled = true
6465
extra_tags = {
6566
Application = "CloudDrove"

_example/redis/example.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "clouddrove/vpc/aws"
7-
version = "0.15.1"
7+
version = "1.3.0"
88

99
name = "vpc"
1010
environment = "test"
@@ -14,7 +14,7 @@ module "vpc" {
1414

1515
module "subnets" {
1616
source = "clouddrove/subnet/aws"
17-
version = "0.15.3"
17+
version = "1.3.0"
1818

1919
name = "subnets"
2020
environment = "test"
@@ -30,7 +30,7 @@ module "subnets" {
3030

3131
module "redis-sg" {
3232
source = "clouddrove/security-group/aws"
33-
version = "1.0.1"
33+
version = "1.3.0"
3434

3535
name = "redis-sg"
3636
environment = "test"
@@ -59,6 +59,7 @@ module "redis" {
5959
auto_minor_version_upgrade = true
6060
num_cache_clusters = 2
6161
retention_in_days = 0
62+
snapshot_retention_limit = 7
6263

6364
log_delivery_configuration = [
6465
{

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# naming convention.
1010
module "labels" {
1111
source = "clouddrove/labels/aws"
12-
version = "0.15.0"
12+
version = "1.3.0"
1313

1414
enabled = var.enable
1515
name = var.name

0 commit comments

Comments
 (0)