Skip to content

Commit b07fc3c

Browse files
committed
fix: updated github actions
1 parent 8e70e44 commit b07fc3c

File tree

6 files changed

+50
-13
lines changed

6 files changed

+50
-13
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# These owners will be the default owners for everything in the repo.
2-
* @anmolnagpal @clouddrove/approvers @clouddrove-ci
2+
* @anmolnagpal @clouddrove/approvers @clouddrove-ci

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
# package ecosystems to update and where the package manifests are located.
33
# Please see the documentation for all configuration options:
44
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
56
version: 2
67
updates:
8+
79
- package-ecosystem: "github-actions"
810
directory: "/"
911
schedule:
@@ -14,6 +16,19 @@ updates:
1416
reviewers:
1517
- "approvers"
1618

19+
- package-ecosystem: "terraform" # See documentation for possible values
20+
directory: "/" # Location of package manifests
21+
schedule:
22+
interval: "weekly"
23+
# Add assignees
24+
assignees:
25+
- "clouddrove-ci"
26+
# Add reviewer
27+
reviewers:
28+
- "approvers"
29+
# Allow up to 3 open pull requests for pip dependencies
30+
open-pull-requests-limit: 3
31+
1732
- package-ecosystem: "terraform" # See documentation for possible values
1833
directory: "/_example/basic" # Location of package manifests
1934
schedule:

.github/workflows/auto_assignee.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Auto Assign PRs
2+
23
on:
34
pull_request:
45
types: [opened, reopened]
6+
57
workflow_dispatch:
68
jobs:
79
assignee:

.github/workflows/readme.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ on:
33
push:
44
branches:
55
- master
6+
67
jobs:
7-
readme-create:
8+
readme:
89
name: 'readme-create'
910
runs-on: ubuntu-latest
1011
steps:
@@ -20,9 +21,9 @@ jobs:
2021
uses: 'clouddrove/[email protected]'
2122
with:
2223
actions_subcommand: 'readme'
23-
github_token: '${{ secrets.GITHUB}}'
24+
github_token: '${{ secrets.GITHUB }}'
2425
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2627

2728
- name: 'pre-commit check errors'
2829
uses: pre-commit/[email protected]
@@ -38,7 +39,7 @@ jobs:
3839
with:
3940
actions_subcommand: 'push'
4041
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4243

4344
- name: 'Slack Notification'
4445
uses: clouddrove/action-slack@v2

.github/workflows/tflint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
workflow_dispatch:
77
jobs:
8-
tf-lint:
9-
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
8+
tflint:
9+
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master
1010
secrets:
11-
GITHUB: ${{ secrets.GITHUB}}
11+
GITHUB: ${{ secrets.GITHUB }}

README.yaml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ badges:
1919
url: "https://github.com/clouddrove/terraform-aws-vpc/releases/latest"
2020
- name: "tfsec"
2121
image: "https://github.com/clouddrove/terraform-aws-vpc/actions/workflows/tfsec.yml/badge.svg"
22-
url: "https://github.com/clouddrove/terraform-aws-vpc/actions/workflows/tfsec.yml/badge.svg"
22+
url: "https://github.com/clouddrove/terraform-aws-vpc/actions/workflows/tfsec.yml"
2323
- name: "Licence"
2424
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
2525
url: "LICENSE.md"
@@ -35,17 +35,36 @@ include:
3535
# How to use this project
3636
usage: |-
3737
Here are some examples of how you can use this module in your inventory structure:
38-
```hcl
38+
39+
### vpc basic example
40+
```hcl
3941
module "vpc" {
4042
source = "clouddrove/vpc/aws"
4143
version = "1.3.1"
4244
name = "vpc"
4345
environment = "example"
4446
cidr_block = "10.0.0.0/16"
45-
enable_flow_log = true
47+
enable_flow_log = true # Flow logs will be stored in cloudwatch log group. Variables passed in default.
4648
create_flow_log_cloudwatch_iam_role = true
4749
additional_cidr_block = ["172.3.0.0/16", "172.2.0.0/16"]
4850
dhcp_options_domain_name = "service.consul"
4951
dhcp_options_domain_name_servers = ["127.0.0.1", "10.10.0.2"]
50-
}
51-
```
52+
}
53+
```
54+
55+
### vpc complete example
56+
```hcl
57+
module "vpc" {
58+
source = "clouddrove/vpc/aws"
59+
version = "1.3.1"
60+
name = "vpc"
61+
environment = "example"
62+
cidr_block = "10.0.0.0/16"
63+
enable_flow_log = true
64+
flow_log_destination_type = "s3"
65+
flow_logs_bucket_name = "gc-vpc-flow-logs-bucket"
66+
additional_cidr_block = ["172.3.0.0/16", "172.2.0.0/16"]
67+
dhcp_options_domain_name = "service.consul"
68+
dhcp_options_domain_name_servers = ["127.0.0.1", "10.10.0.2"]
69+
}
70+
```

0 commit comments

Comments
 (0)