Skip to content

Commit

Permalink
Merge pull request #124 from plus3it/dependabot/terraform/custom_lamb…
Browse files Browse the repository at this point in the history
…da-1.3.0
  • Loading branch information
lorengordon authored May 1, 2021
2 parents 9e70766 + fd6560a commit 3676c1c
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.0
current_version = 3.0.1
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
13 changes: 4 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,18 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gomod
directory: "/tests"
- package-ecosystem: terraform
directory: "/tests/create_aws_config_rule"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: terraform
directory: "/tests/no_create"
directory: "/tests/create_custom_config_rule"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: terraform
directory: "/tests/create_config_recorder"
directory: "/tests/create_legacy_config_rules"
schedule:
interval: daily
open-pull-requests-limit: 10
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Update terraform dependencies

on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'

Expand All @@ -13,4 +14,9 @@ jobs:
uses: plus3it/dependabot-terraform-action@p3-implementation
with:
github_dependency_token: ${{ secrets.GH_READONLY_TOKEN }}
directory: |
/
/tests/create_aws_config_rule
/tests/create_custom_config_rule
/tests/create/legacy/config_rules
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
.tardigrade-ci
tardigrade-ci/

# eclint
.git/

# terratest
go.mod
go.sum

# terraform lock file
.terraform.lock.hcl
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ stages:
- lint
- deploy

if: branch = master OR type = pull_request

jobs:
include:
- stage: lint
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ make clean && make vendor
| Name | Version |
|------|---------|
| terraform | >= 0.13 |
| aws | >= 3.0 |

## Providers

| Name | Version |
|------|---------|
| aws | n/a |
| aws | >= 3.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "aws_config_config_rule" "this" {

module "custom_lambda" {
count = local.custom_lambda ? 1 : 0
source = "git::https://github.com/plus3it/terraform-aws-lambda.git?ref=v1.2.0"
source = "git::https://github.com/plus3it/terraform-aws-lambda.git?ref=v1.3.0"

function_name = var.lambda.name
description = var.lambda.description
Expand Down
1 change: 0 additions & 1 deletion requirements/dev.txt

This file was deleted.

7 changes: 7 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_version = ">= 0.13"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
}
}
}

0 comments on commit 3676c1c

Please sign in to comment.