Skip to content

Commit

Permalink
Allow the module in terraform 1.x (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsclarke authored Nov 7, 2021
1 parent fd04dbe commit f1fc31f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.14.5
terraform_version: 1.0.10
terraform_wrapper: false
- id: fmt
run: terraform fmt -check -recursive
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ module {
}
```

## Requirements

| Name | Version |
|------|---------|
| terraform | `~> 0.14.0` |
| cloudflare | `>= 2.0` |

## Providers

| Name | Version |
Expand All @@ -62,4 +55,4 @@ module {

## Outputs

This module does not expose any ouputs.
This module does not expose any outputs.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "cloudflare_record" "dmarc" {

module "mta_sts" {
source = "rsclarke/mta-sts/cloudflare"
version = "~> 1.0.0"
version = "~> 1.1.0"

zone_id = var.zone_id
zone_name = var.zone_name
Expand Down
2 changes: 0 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ terraform {
version = ">= 2.0"
}
}

required_version = "~> 0.14.0"
}

0 comments on commit f1fc31f

Please sign in to comment.