Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Tested for 5.x compatibility and added a versions file for the example (
Browse files Browse the repository at this point in the history
#2)

* Upgraded to 5.x and added a versions file for the example

* Ran the pre-commit commands and refactored versions file
  • Loading branch information
Mohammed-afk91 authored Jul 25, 2023
1 parent d70b852 commit da9182f
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-executables-have-shebangs
- id: pretty-format-json
args: ['--autofix', '--no-sort-keys', '--indent=2']
- id: check-byte-order-marker
Expand All @@ -17,8 +16,8 @@ repos:
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: trailing-whitespace
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.50.0
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Change Log

All notable changes to this project will be documented in this file.

<a name="unreleased"></a>
## [Unreleased]

- Upgraded to 5.x and added a versions file for the example


<a name="1.0.0"></a>
## 1.0.0 - 2021-07-05

- SQS- Full module configuration ([#1](https://github.com/umotif-public/terraform-aws-sqs/issues/1))
- Initial commit


[Unreleased]: https://github.com/umotif-public/terraform-aws-sqs/compare/1.0.0...HEAD
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.46 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.11 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.46.0 |

## Providers

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

## Modules

Expand Down
4 changes: 0 additions & 4 deletions examples/core/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
provider "aws" {
region = "eu-west-1"
}

#####
# Main SQS queue
#####
Expand Down
14 changes: 14 additions & 0 deletions examples/core/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_version = "1.0.11"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5"
}
}
}

provider "aws" {
region = "eu-west-1"
}
7 changes: 5 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
terraform {
required_version = ">= 1.0.0"
required_version = ">= 1.0.11"

required_providers {
aws = ">= 3.46"
aws = {
source = "hashicorp/aws"
version = ">= 3.46.0"
}
}
}

0 comments on commit da9182f

Please sign in to comment.