Skip to content

Commit

Permalink
work for terraform 0.14 (#20)
Browse files Browse the repository at this point in the history
* work for terraform 0.14

* update example modules

* Updated README.md

* change source format

* req tf 0.13 minimum

* upgrade version reqs

* Updated README.md

* Executed 'terraform fmt'

Co-authored-by: dmattia <[email protected]>
Co-authored-by: actions-bot <[email protected]>
  • Loading branch information
3 people authored Dec 9, 2020
1 parent 6dd1ce3 commit f7a9741
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 19 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<!-- markdownlint-disable -->
# terraform-aws-kms-key [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-kms-key.svg)](https://github.com/cloudposse/terraform-aws-kms-key/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
<!-- markdownlint-restore -->

[![README Header][readme_header_img]][readme_header_link]

Expand Down Expand Up @@ -106,16 +108,16 @@ Available targets:

| Name | Version |
|------|---------|
| terraform | >= 0.12.0 |
| aws | >= 2.0 |
| local | >= 1.2 |
| terraform | >= 0.13 |
| aws | >= 3.0 |
| local | >= 1.3 |
| null | >= 2.0 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.0 |
| aws | >= 3.0 |

## Inputs

Expand Down Expand Up @@ -298,8 +300,10 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply

### Contributors

<!-- markdownlint-disable -->
| [![Andriy Knysh][aknysh_avatar]][aknysh_homepage]<br/>[Andriy Knysh][aknysh_homepage] | [![Erik Osterman][osterman_avatar]][osterman_homepage]<br/>[Erik Osterman][osterman_homepage] | [![Igor Rodionov][goruha_avatar]][goruha_homepage]<br/>[Igor Rodionov][goruha_homepage] |
|---|---|---|
<!-- markdownlint-restore -->

[aknysh_homepage]: https://github.com/aknysh
[aknysh_avatar]: https://img.cloudposse.com/150x150/https://github.com/aknysh.png
Expand Down
3 changes: 2 additions & 1 deletion context.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
#

module "this" {
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.19.2"
source = "cloudposse/label/null"
version = "0.22.0"

enabled = var.enabled
namespace = var.namespace
Expand Down
8 changes: 4 additions & 4 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

| Name | Version |
|------|---------|
| terraform | >= 0.12.0 |
| aws | >= 2.0 |
| local | >= 1.2 |
| terraform | >= 0.13 |
| aws | >= 3.0 |
| local | >= 1.3 |
| null | >= 2.0 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.0 |
| aws | >= 3.0 |

## Inputs

Expand Down
3 changes: 2 additions & 1 deletion examples/complete/context.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
#

module "this" {
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.19.2"
source = "cloudposse/label/null"
version = "0.22.0"

enabled = var.enabled
namespace = var.namespace
Expand Down
17 changes: 13 additions & 4 deletions examples/complete/versions.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
aws = ">= 2.0"
local = ">= 1.2"
null = ">= 2.0"
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.3"
}
null = {
source = "hashicorp/null"
version = ">= 2.0"
}
}
}
19 changes: 14 additions & 5 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
aws = ">= 2.0"
local = ">= 1.2"
null = ">= 2.0"
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.3"
}
null = {
source = "hashicorp/null"
version = ">= 2.0"
}
}
}
}

0 comments on commit f7a9741

Please sign in to comment.