Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
3b5b7f1f
Unverified
Commit
3b5b7f1f
authored
Mar 06, 2024
by
Bryant Biggs
Committed by
GitHub
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Update CI workflow versions to remove deprecated runtime warnings (#1052)
parent
f7f84f70
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
21 deletions
+39
-21
lock.yml
.github/workflows/lock.yml
+1
-1
pr-title.yml
.github/workflows/pr-title.yml
+1
-1
pre-commit.yml
.github/workflows/pre-commit.yml
+26
-10
release.yml
.github/workflows/release.yml
+6
-6
stale-actions.yaml
.github/workflows/stale-actions.yaml
+1
-1
.pre-commit-config.yaml
.pre-commit-config.yaml
+4
-2
No files found.
.github/workflows/lock.yml
View file @
3b5b7f1f
...
@@ -8,7 +8,7 @@ jobs:
...
@@ -8,7 +8,7 @@ jobs:
lock
:
lock
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
dessant/lock-threads@v
4
-
uses
:
dessant/lock-threads@v
5
with
:
with
:
github-token
:
${{ secrets.GITHUB_TOKEN }}
github-token
:
${{ secrets.GITHUB_TOKEN }}
issue-comment
:
>
issue-comment
:
>
...
...
.github/workflows/pr-title.yml
View file @
3b5b7f1f
...
@@ -14,7 +14,7 @@ jobs:
...
@@ -14,7 +14,7 @@ jobs:
steps
:
steps
:
# Please look up the latest version from
# Please look up the latest version from
# https://github.com/amannn/action-semantic-pull-request/releases
# https://github.com/amannn/action-semantic-pull-request/releases
-
uses
:
amannn/action-semantic-pull-request@v5.
0.2
-
uses
:
amannn/action-semantic-pull-request@v5.
4.0
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
with
:
...
...
.github/workflows/pre-commit.yml
View file @
3b5b7f1f
...
@@ -8,7 +8,7 @@ on:
...
@@ -8,7 +8,7 @@ on:
env
:
env
:
TERRAFORM_DOCS_VERSION
:
v0.16.0
TERRAFORM_DOCS_VERSION
:
v0.16.0
TFLINT_VERSION
:
v0.
44.1
TFLINT_VERSION
:
v0.
50.3
jobs
:
jobs
:
collectInputs
:
collectInputs
:
...
@@ -18,11 +18,11 @@ jobs:
...
@@ -18,11 +18,11 @@ jobs:
directories
:
${{ steps.dirs.outputs.directories }}
directories
:
${{ steps.dirs.outputs.directories }}
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
3
uses
:
actions/checkout@v
4
-
name
:
Get root directories
-
name
:
Get root directories
id
:
dirs
id
:
dirs
uses
:
clowdhaus/terraform-composite-actions/directories@v1.
8.3
uses
:
clowdhaus/terraform-composite-actions/directories@v1.
9.0
preCommitMinVersions
:
preCommitMinVersions
:
name
:
Min TF pre-commit
name
:
Min TF pre-commit
...
@@ -32,19 +32,27 @@ jobs:
...
@@ -32,19 +32,27 @@ jobs:
matrix
:
matrix
:
directory
:
${{ fromJson(needs.collectInputs.outputs.directories) }}
directory
:
${{ fromJson(needs.collectInputs.outputs.directories) }}
steps
:
steps
:
# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
-
name
:
Delete huge unnecessary tools folder
run
:
|
rm -rf /opt/hostedtoolcache/CodeQL
rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
rm -rf /opt/hostedtoolcache/Ruby
rm -rf /opt/hostedtoolcache/go
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
3
uses
:
actions/checkout@v
4
-
name
:
Terraform min/max versions
-
name
:
Terraform min/max versions
id
:
minMax
id
:
minMax
uses
:
clowdhaus/terraform-min-max@v1.
2.4
uses
:
clowdhaus/terraform-min-max@v1.
3.0
with
:
with
:
directory
:
${{ matrix.directory }}
directory
:
${{ matrix.directory }}
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
# Run only validate pre-commit check on min version supported
# Run only validate pre-commit check on min version supported
if
:
${{ matrix.directory != '.' }}
if
:
${{ matrix.directory != '.' }}
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
8.3
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
9.0
with
:
with
:
terraform-version
:
${{ steps.minMax.outputs.minVersion }}
terraform-version
:
${{ steps.minMax.outputs.minVersion }}
tflint-version
:
${{ env.TFLINT_VERSION }}
tflint-version
:
${{ env.TFLINT_VERSION }}
...
@@ -53,7 +61,7 @@ jobs:
...
@@ -53,7 +61,7 @@ jobs:
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
# Run only validate pre-commit check on min version supported
# Run only validate pre-commit check on min version supported
if
:
${{ matrix.directory == '.' }}
if
:
${{ matrix.directory == '.' }}
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
8.3
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
9.0
with
:
with
:
terraform-version
:
${{ steps.minMax.outputs.minVersion }}
terraform-version
:
${{ steps.minMax.outputs.minVersion }}
tflint-version
:
${{ env.TFLINT_VERSION }}
tflint-version
:
${{ env.TFLINT_VERSION }}
...
@@ -64,18 +72,26 @@ jobs:
...
@@ -64,18 +72,26 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
collectInputs
needs
:
collectInputs
steps
:
steps
:
# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
-
name
:
Delete huge unnecessary tools folder
run
:
|
rm -rf /opt/hostedtoolcache/CodeQL
rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
rm -rf /opt/hostedtoolcache/Ruby
rm -rf /opt/hostedtoolcache/go
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
3
uses
:
actions/checkout@v
4
with
:
with
:
ref
:
${{ github.event.pull_request.head.ref }}
ref
:
${{ github.event.pull_request.head.ref }}
repository
:
${{github.event.pull_request.head.repo.full_name}}
repository
:
${{github.event.pull_request.head.repo.full_name}}
-
name
:
Terraform min/max versions
-
name
:
Terraform min/max versions
id
:
minMax
id
:
minMax
uses
:
clowdhaus/terraform-min-max@v1.
2.4
uses
:
clowdhaus/terraform-min-max@v1.
3.0
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
-
name
:
Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
8.3
uses
:
clowdhaus/terraform-composite-actions/pre-commit@v1.
9.0
with
:
with
:
terraform-version
:
${{ steps.minMax.outputs.maxVersion }}
terraform-version
:
${{ steps.minMax.outputs.maxVersion }}
tflint-version
:
${{ env.TFLINT_VERSION }}
tflint-version
:
${{ env.TFLINT_VERSION }}
...
...
.github/workflows/release.yml
View file @
3b5b7f1f
...
@@ -20,18 +20,18 @@ jobs:
...
@@ -20,18 +20,18 @@ jobs:
if
:
github.repository_owner == 'terraform-aws-modules'
if
:
github.repository_owner == 'terraform-aws-modules'
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v
3
uses
:
actions/checkout@v
4
with
:
with
:
persist-credentials
:
false
persist-credentials
:
false
fetch-depth
:
0
fetch-depth
:
0
-
name
:
Release
-
name
:
Release
uses
:
cycjimmy/semantic-release-action@v
3
uses
:
cycjimmy/semantic-release-action@v
4
with
:
with
:
semantic_version
:
18.0.0
semantic_version
:
23.0.2
extra_plugins
:
|
extra_plugins
:
|
@semantic-release/changelog@6.0.
0
@semantic-release/changelog@6.0.
3
@semantic-release/git@10.0.
0
@semantic-release/git@10.0.
1
conventional-changelog-conventionalcommits@
4.6.3
conventional-changelog-conventionalcommits@
7.0.2
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.SEMANTIC_RELEASE_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.SEMANTIC_RELEASE_TOKEN }}
.github/workflows/stale-actions.yaml
View file @
3b5b7f1f
...
@@ -7,7 +7,7 @@ jobs:
...
@@ -7,7 +7,7 @@ jobs:
stale
:
stale
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/stale@v
6
-
uses
:
actions/stale@v
9
with
:
with
:
repo-token
:
${{ secrets.GITHUB_TOKEN }}
repo-token
:
${{ secrets.GITHUB_TOKEN }}
# Staling issues and PR's
# Staling issues and PR's
...
...
.pre-commit-config.yaml
View file @
3b5b7f1f
repos
:
repos
:
-
repo
:
https://github.com/antonbabenko/pre-commit-terraform
-
repo
:
https://github.com/antonbabenko/pre-commit-terraform
rev
:
v1.8
6
.0
rev
:
v1.8
8
.0
hooks
:
hooks
:
-
id
:
terraform_fmt
-
id
:
terraform_fmt
-
id
:
terraform_validate
-
id
:
terraform_docs
-
id
:
terraform_docs
args
:
args
:
-
'
--args=--lockfile=false'
-
'
--args=--lockfile=false'
...
@@ -22,8 +21,11 @@ repos:
...
@@ -22,8 +21,11 @@ repos:
-
'
--args=--only=terraform_required_providers'
-
'
--args=--only=terraform_required_providers'
-
'
--args=--only=terraform_standard_module_structure'
-
'
--args=--only=terraform_standard_module_structure'
-
'
--args=--only=terraform_workspace_remote'
-
'
--args=--only=terraform_workspace_remote'
-
'
--args=--only=terraform_unused_required_providers'
-
id
:
terraform_validate
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.5.0
rev
:
v4.5.0
hooks
:
hooks
:
-
id
:
check-merge-conflict
-
id
:
check-merge-conflict
-
id
:
end-of-file-fixer
-
id
:
end-of-file-fixer
-
id
:
trailing-whitespace
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment