Skip to content

Commit

Permalink
Merge pull request #24 from lorenzoaiello/feat/0.13-upgrade
Browse files Browse the repository at this point in the history
refactor: TF 0.13 upgrade and compatibility checks
  • Loading branch information
lorenzoaiello authored Feb 17, 2024
2 parents 8de503a + 16ca741 commit ffd248c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 22 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Terraform Validate

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1

- name: Terraform Init
run: terraform init

- name: Terraform Validate
run: terraform validate
21 changes: 0 additions & 21 deletions .gitlab-ci.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ This Terraform module manages Cloudwatch Alarms for an RDS instance. It does NOT

**Requires**:
- AWS Provider
- Terraform 0.12
- Terraform 0.13 or higher

If you need Terraform 0.12, you should use version `2.x` of this module and contribute changes to the `tf-0.12` branch.

## Alarms Created

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

0 comments on commit ffd248c

Please sign in to comment.