Skip to content

Commit

Permalink
feat: Update pipelines and readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgadgi committed Jul 28, 2023
1 parent 32c9a2a commit 761fae5
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 182 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/auto_assignee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto Assign PRs

on:
pull_request:
types: [opened, reopened]

workflow_dispatch:
jobs:
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
assignees: 'clouddrove-ci'
16 changes: 8 additions & 8 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@ on:
- master

jobs:
readme-create:
readme:
name: 'readme-create'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2.3.4
uses: actions/checkout@master

- name: 'Set up Python 3.7'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: 'create readme'
uses: 'clouddrove/github-actions@v9.0.2'
with:
actions_subcommand: 'readme'
github_token: '${{ secrets.GITHUB}}'
github_token: '${{ secrets.GITHUB }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: 'pre-commit check errors'
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v3.0.0
continue-on-error: true

- name: 'pre-commit fix errors'
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v3.0.0
continue-on-error: true

- name: 'push readme'
Expand All @@ -40,7 +40,7 @@ jobs:
with:
actions_subcommand: 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
Expand Down
84 changes: 0 additions & 84 deletions .github/workflows/terraform.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/terratest.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/tf-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: tf-checks
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
complete:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
with:
working_directory: './_example/'
11 changes: 11 additions & 0 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: tf-lint
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
tflint:
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master
secrets:
GITHUB: ${{ secrets.GITHUB }}
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,20 @@ This module has a few dependencies:
### Simple Example
Here is an example of how you can use this module in your inventory structure:
```hcl
module "ses" {
source = "clouddrove/ses/aws"
version = "1.3.0"
domain = "clouddrove.com"
iam_name = "ses-user"
zone_id = "DSSCTGRTHD"
enable_verification = true
enable_mx = false
enable_spf_domain = false
}
module "ses" {
source = "clouddrove/ses/aws"
version = "1.3.0"
domain = "clouddrove.com"
enable_email = true
emails = ["random@gmail.com"]
iam_name = "ses-user1"
zone_id = "DSSCTGRTHD"
enable_verification = false
enable_mx = false
enable_spf_domain = false
}
```


Expand Down
16 changes: 12 additions & 4 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ badges:
image: "https://github.com/clouddrove/terraform-aws-ses/actions/workflows/terraform.yml/badge.svg"
url: "https://github.com/clouddrove/terraform-aws-ses/actions/workflows/terraform.yml"

prerequesties:
- name: Terraform 1.4.6
url: https://learn.hashicorp.com/terraform/getting-started/install.html

# description of this project
description: |-
Terraform module to create an SES Identity with SES IAM user on AWS.
Expand All @@ -44,11 +48,15 @@ usage : |-
module "ses" {
source = "clouddrove/ses/aws"
version = "1.3.0"
domain = "clouddrove.com"
iam_name = "ses-user"
domain = "clouddrove.com"
enable_email = true
emails = ["random@gmail.com"]
iam_name = "ses-user1"
zone_id = "DSSCTGRTHD"
enable_verification = true
enable_verification = false
enable_mx = false
enable_spf_domain = false
}
}
```
32 changes: 0 additions & 32 deletions _test/ses_test.go

This file was deleted.

0 comments on commit 761fae5

Please sign in to comment.