Skip to content

Commit

Permalink
feat: added changelog.yml file and updated main.tf and tfsec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mamrajyadav committed May 9, 2023
1 parent 0ca71a6 commit caebacb
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 26 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: changelog
permissions: write-all
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
secrets: inherit
with:
branch: 'master'
26 changes: 6 additions & 20 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
name: tfsec
permissions: write-all
on:
pull_request:

workflow_dispatch:
jobs:
tfsec:
name: tfsec sarif report
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@master

- name: tfsec
uses: aquasecurity/tfsec-sarif-action@v0.1.0
with:
sarif_file: tfsec.sarif
working_directory: _example
full_repo_scan: true

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
secrets: inherit
with:
working_directory: '.'
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.19.0] - 2023-02-28
### :bug: Bug Fixes
- [`0ca71a6`](https://github.com/clouddrove/terraform-aws-cognito/commit/0ca71a6a0ecc2d5a569241a80bbd23198180a4f1) - Create dependabot.yml
- [`87f79a9`](https://github.com/clouddrove/terraform-aws-cognito/commit/87f79a94ea59b1e8c561e5c735c06d83908cffe2) - updated readme.yaml and fixed the github action
- [`b92c3b7`](https://github.com/clouddrove/terraform-aws-cognito/commit/b92c3b776331b6223c24acc4497017032cee8e81) - updated the email subject and added varible for e…

## [0.18.0] - 2022-12-07
### :bug: Bug Fixes
- [`5b24963`](https://github.com/clouddrove/terraform-aws-cognito/commit/5b249634cb74d4cef52118fab550662f336513e6) - Updated the mfa configuration in the aws cognito tf module


## [0.17.0] - 2023-12-05
### :bug: Bug Fixes
- [`ee9bb35`](https://github.com/clouddrove/terraform-aws-cognito/commit/ee9bb35a7e7b134c1e44ac2e5ce4a121e9d3215d) - updated readme, outputs and variables


## [0.16.0] - 2022-12-03
### :bug: Bug Fixes
- [`bbb6d42`](https://github.com/clouddrove/terraform-aws-cognito/commit/bbb6d4287dcf370e910f6d984b99e75ac0b718e1) - Updated aws cognito tf code
- [`8bc3d87`](https://github.com/clouddrove/terraform-aws-cognito/commit/8bc3d8706dbea224adcf774d5c9d7d18b8e58c5e) - updated aws cognito terraform module

## [0.15.0] - 2022-12-02
### :bug: Bug Fixes
- [`b325f97`](https://github.com/clouddrove/terraform-aws-cognito/commit/b325f973b344fd0cc083ef3d21edcdb2629def92) - updated terrform module

## [0.14.0] - 2021-04-21
### :bug: Bug Fixes
- [`8273220`](https://github.com/clouddrove/terraform-aws-cognito/commit/82732202e6d16b863c0830bf838953b74492d536) - updated aws cognito tf module


[0.14.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.14.0...master
[0.15.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.15.0...master
[0.16.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.16.0...master
[0.17.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.17.0...master
[0.18.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.18.0...master
[0.19.0]: https://github.com/clouddrove/terraform-aws-cognito/compare/0.19.0...master
4 changes: 2 additions & 2 deletions _example/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
9 changes: 5 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# convention.
module "labels" {
source = "clouddrove/labels/aws"
version = "0.15.0"
version = "1.3.0"

name = var.name
environment = var.environment
Expand All @@ -18,8 +18,8 @@ module "labels" {
}

module "auth-role" {
source = "git::https://github.com/clouddrove/terraform-aws-iam-role.git?ref=tags/0.14.0"

source = "clouddrove/iam-role/aws"
version = "1.3.0"
name = format("%s-auth-role", module.labels.id)
environment = var.environment
label_order = ["name"]
Expand Down Expand Up @@ -67,7 +67,8 @@ data "aws_iam_policy_document" "authenticated" {
}

module "unauth-role" {
source = "git::https://github.com/clouddrove/terraform-aws-iam-role.git?ref=tags/0.14.0"
source = "clouddrove/iam-role/aws"
version = "1.3.0"

name = format("%s-unauth-role", module.labels.id)
environment = var.environment
Expand Down

0 comments on commit caebacb

Please sign in to comment.