Skip to content

Commit

Permalink
feat: updated example path and readme parameters (#70)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Apr 24, 2024
1 parent c7422b5 commit af0b3d3
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ updates:
reviewers:
- "approvers"
- package-ecosystem: "terraform" # See documentation for possible values
directory: "_example/memcached" # Location of package manifests
directory: "examples/memcached" # Location of package manifests
schedule:
interval: "weekly"
# Add assignees
Expand All @@ -26,7 +26,7 @@ updates:
reviewers:
- "approvers"
- package-ecosystem: "terraform" # See documentation for possible values
directory: "_example/redis" # Location of package manifests
directory: "examples/redis" # Location of package manifests
schedule:
interval: "weekly"
# Add assignees
Expand All @@ -36,7 +36,7 @@ updates:
reviewers:
- "approvers"
- package-ecosystem: "terraform" # See documentation for possible values
directory: "_example/redis-cluster" # Location of package manifests
directory: "examples/redis-cluster" # Location of package manifests
schedule:
interval: "weekly"
# Add assignees
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: 'Create README.md file'
name: Readme Workflow
on:
push:
branches:
- master
paths-ignore:
- 'README.md'

- 'docs/**'
workflow_dispatch:
jobs:
readme-create:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected].2
README:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected].4
secrets:
TOKEN: ${{ secrets.GITHUB }}
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
TOKEN : ${{ secrets.GITHUB }}
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
6 changes: 3 additions & 3 deletions .github/workflows/tf-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
memcached:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
with:
working_directory: './_example/memcached/'
working_directory: './examples/memcached/'
redis:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
with:
working_directory: './_example/redis/'
working_directory: './examples/redis/'
redis-cluster:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
with:
working_directory: './_example/redis-cluster/'
working_directory: './examples/redis-cluster/'
19 changes: 18 additions & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,24 @@ badges:
- name: "Licence"
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
url: "LICENSE.md"

- name: "Changelog"
image: "https://img.shields.io/badge/Changelog-blue"
url: "CHANGELOG.md"

prerequesties:
- name: Terraform
url: https://learn.hashicorp.com/terraform/getting-started/install.html
version: ">= 1.6.5"

providers:
- name: aws
url: https://aws.amazon.com/
version: ">= 5.31.0"

module_dependencies:
- name: Labels Module
url: https://github.com/clouddrove/terraform-aws-labels
description: Provides resource tagging.
# description of this project
description: |-
Terraform module to create Elasticache Cluster and replica for Redis and Memcache.
Expand Down
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.
File renamed without changes.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ variable "key_usage" {
}

variable "network_type" {
type = string
default = "ipv4"
type = string
default = "ipv4"
description = "value of the network type. Valid values are ipv4, ipv6 or dual_stack."
}

Expand Down

0 comments on commit af0b3d3

Please sign in to comment.