Skip to content

Pulling refs/heads/develop into main #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/security_scans.yml

This file was deleted.

44 changes: 27 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
rev: v1.77.1
hooks:
- id: terraform_fmt
- id: terraform_tflint
args:
- '--args=--only=terraform_deprecated_interpolation'
- '--args=--only=terraform_deprecated_index'
- '--args=--only=terraform_unused_declarations'
- '--args=--only=terraform_comment_syntax'
- '--args=--only=terraform_documented_outputs'
- '--args=--only=terraform_documented_variables'
- '--args=--only=terraform_typed_variables'
- '--args=--only=terraform_naming_convention'
- '--args=--only=terraform_required_providers'
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- "--args=--only=terraform_deprecated_interpolation"
- "--args=--only=terraform_deprecated_index"
- "--args=--only=terraform_unused_declarations"
- "--args=--only=terraform_comment_syntax"
- "--args=--only=terraform_documented_outputs"
- "--args=--only=terraform_documented_variables"
- "--args=--only=terraform_typed_variables"
- "--args=--only=terraform_naming_convention"
- "--args=--only=terraform_required_providers"
- "--args=--only=terraform_standard_module_structure"
- "--args=--only=terraform_workspace_remote"

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -30,8 +30,18 @@ repos:
- id: requirements-txt-fixer

- repo: https://github.com/bridgecrewio/checkov.git
rev: '2.1.280'
rev: "2.1.280"
hooks:
- id: checkov
verbose: true
args: [-d, '.', --framework, 'terraform', --skip-check, 'CKV2_AWS_5,CKV_AWS_134', --download-external-modules, 'True']
- id: checkov
verbose: true
args:
[
-d,
".",
--framework,
"terraform",
--skip-check,
"CKV2_AWS_5,CKV_AWS_134",
--download-external-modules,
"True",
]
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<img src="https://img.shields.io/github/commit-activity/m/tomarv2/terraform-aws-elasticache" /></a>
<a href="https://stackoverflow.com/users/6679867/tomarv2" alt="Stack Exchange reputation">
<img src="https://img.shields.io/stackexchange/stackoverflow/r/6679867"></a>
<a href="https://twitter.com/intent/follow?screen_name=varuntomar2019" alt="follow on Twitter">
<img src="https://img.shields.io/twitter/follow/varuntomar2019?style=social&logo=twitter"></a>
<a href="https://twitter.com/intent/follow?screen_name=tomar_v2" alt="follow on Twitter">
<img src="https://img.shields.io/twitter/follow/tomar_v2?style=social&logo=twitter"></a>
</p>

## Terraform module for [AWS Elasticache](https://registry.terraform.io/modules/tomarv2/elasticache/aws/latest)
Expand Down Expand Up @@ -104,19 +104,19 @@ Please refer to examples directory [link](examples) for references.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.35 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.61 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 4.35 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 4.61 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| <a name="module_global"></a> [global](#module\_global) | git::git@github.com:tomarv2/terraform-global.git//aws | v0.0.1 |
| <a name="module_global"></a> [global](#module\_global) | github.com/tomarv2/terraform-global.git//aws | v0.0.1 |

## Resources

Expand Down
4 changes: 2 additions & 2 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_version = ">= 1.0.1"
required_providers {
aws = {
version = "~> 4.35"
version = "~> 4.61"
}
}
}
Expand All @@ -29,7 +29,7 @@ module "redis" {
}

module "security_group" {
#source = "git::git@github.com:tomarv2/terraform-aws-security-group.git?ref=v0.0.12"
#source = "github.com/tomarv2/terraform-aws-security-group.git"
source = "../../terraform-aws-security-group"
config = {
demo_redis = {
Expand Down
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "global" {
source = "git::git@github.com:tomarv2/terraform-global.git//aws?ref=v0.0.1"
source = "github.com/tomarv2/terraform-global.git//aws?ref=v0.0.1"
}

locals {
Expand Down
2 changes: 1 addition & 1 deletion providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_version = ">= 1.0.1"
required_providers {
aws = {
version = "~> 4.35"
version = "~> 4.61"
}
}
}