Skip to content

Commit af0b3d3

Browse files
feat: updated example path and readme parameters (#70)
* feat: updated example path and readme parameters * fmt- terraform format * feat- Updated Path for Ignore File --------- Co-authored-by: Vishwajit Nagulkar <[email protected]> Co-authored-by: Vishwajit Nagulkar <[email protected]>
1 parent c7422b5 commit af0b3d3

File tree

14 files changed

+33
-15
lines changed

14 files changed

+33
-15
lines changed

.github/dependabot.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ updates:
1616
reviewers:
1717
- "approvers"
1818
- package-ecosystem: "terraform" # See documentation for possible values
19-
directory: "_example/memcached" # Location of package manifests
19+
directory: "examples/memcached" # Location of package manifests
2020
schedule:
2121
interval: "weekly"
2222
# Add assignees
@@ -26,7 +26,7 @@ updates:
2626
reviewers:
2727
- "approvers"
2828
- package-ecosystem: "terraform" # See documentation for possible values
29-
directory: "_example/redis" # Location of package manifests
29+
directory: "examples/redis" # Location of package manifests
3030
schedule:
3131
interval: "weekly"
3232
# Add assignees
@@ -36,7 +36,7 @@ updates:
3636
reviewers:
3737
- "approvers"
3838
- package-ecosystem: "terraform" # See documentation for possible values
39-
directory: "_example/redis-cluster" # Location of package manifests
39+
directory: "examples/redis-cluster" # Location of package manifests
4040
schedule:
4141
interval: "weekly"
4242
# Add assignees

.github/workflows/readme.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
name: 'Create README.md file'
1+
name: Readme Workflow
22
on:
33
push:
44
branches:
55
- master
66
paths-ignore:
77
- 'README.md'
8-
8+
- 'docs/**'
9+
workflow_dispatch:
910
jobs:
10-
readme-create:
11-
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected].2
11+
README:
12+
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected].4
1213
secrets:
13-
TOKEN: ${{ secrets.GITHUB }}
14-
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
14+
TOKEN : ${{ secrets.GITHUB }}
15+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

.github/workflows/tf-checks.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
memcached:
99
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1010
with:
11-
working_directory: './_example/memcached/'
11+
working_directory: './examples/memcached/'
1212
redis:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1414
with:
15-
working_directory: './_example/redis/'
15+
working_directory: './examples/redis/'
1616
redis-cluster:
1717
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
1818
with:
19-
working_directory: './_example/redis-cluster/'
19+
working_directory: './examples/redis-cluster/'

README.yaml

+18-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,24 @@ badges:
2424
- name: "Licence"
2525
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
2626
url: "LICENSE.md"
27-
27+
- name: "Changelog"
28+
image: "https://img.shields.io/badge/Changelog-blue"
29+
url: "CHANGELOG.md"
30+
31+
prerequesties:
32+
- name: Terraform
33+
url: https://learn.hashicorp.com/terraform/getting-started/install.html
34+
version: ">= 1.6.5"
35+
36+
providers:
37+
- name: aws
38+
url: https://aws.amazon.com/
39+
version: ">= 5.31.0"
40+
41+
module_dependencies:
42+
- name: Labels Module
43+
url: https://github.com/clouddrove/terraform-aws-labels
44+
description: Provides resource tagging.
2845
# description of this project
2946
description: |-
3047
Terraform module to create Elasticache Cluster and replica for Redis and Memcache.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ variable "key_usage" {
169169
}
170170

171171
variable "network_type" {
172-
type = string
173-
default = "ipv4"
172+
type = string
173+
default = "ipv4"
174174
description = "value of the network type. Valid values are ipv4, ipv6 or dual_stack."
175175
}
176176

0 commit comments

Comments
 (0)