Skip to content

Commit

Permalink
OPS-3896 (#34)
Browse files Browse the repository at this point in the history
* OPS-3896 Bump modules versions for compatibility with was 3.0

* OPS-3896 Bump version of module for aws provider compatibility

* OPS-3896 Update examples to use aws provider version 3.0.0

* OPS-3896 Change TF_VERSION from light to 0.12.29, light uses later 0.13.x
  • Loading branch information
runderwoodcr14 authored Sep 10, 2020
1 parent f81baab commit 99ad688
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CURRENT_DIR = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
TF_EXAMPLES = $(sort $(dir $(wildcard $(CURRENT_DIR)examples/*/)))
TF_MODULES = $(sort $(dir $(wildcard $(CURRENT_DIR)modules/*/)))

TF_VERSION = light
TF_VERSION = 0.12.29
TF_DOCS_VERSION = 0.6.0

# Adjust your delimiter here or overwrite via make arguments
Expand Down
2 changes: 1 addition & 1 deletion dynamodb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resource "null_resource" "dynamodb_checker" {

module "dynamodb" {
source = "cloudposse/dynamodb/aws"
version = "0.10.0"
version = "0.20.0"

namespace = ""
stage = ""
Expand Down
2 changes: 1 addition & 1 deletion dynamodb_2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "null_resource" "dynamodb2_checker" {

module "dynamodb2" {
source = "cloudposse/dynamodb/aws"
version = "0.10.0"
version = "0.20.0"

namespace = ""
stage = ""
Expand Down
2 changes: 1 addition & 1 deletion dynamodb_3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "null_resource" "dynamodb3_checker" {

module "dynamodb3" {
source = "cloudposse/dynamodb/aws"
version = "0.10.0"
version = "0.20.0"

namespace = ""
stage = ""
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamodb/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "aws" {
version = "~> 2.37.0"
version = "~> 3.0.0"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/iam/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "aws" {
version = "~> 2.37.0"
version = "~> 3.0.0"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/rds/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "aws" {
version = "~> 2.37.0"
version = "~> 3.0.0"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/redis/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "aws" {
version = "~> 2.37.0"
version = "~> 3.0.0"
region = "eu-central-1"
}
2 changes: 1 addition & 1 deletion examples/s3/provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider "aws" {
version = "~> 2.37.0"
version = "~> 3.0.0"
region = "eu-central-1"
}
4 changes: 2 additions & 2 deletions rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {

module "rds_sg" {
source = "terraform-aws-modules/security-group/aws"
version = "3.4.0"
version = "3.14.0"

create = var.rds_enabled

Expand All @@ -45,7 +45,7 @@ resource "random_string" "password" {
# -------------------------------------------------------------------------------------------------
module "rds" {
source = "terraform-aws-modules/rds/aws"
version = "2.14.0"
version = "2.18.0"

create_db_instance = var.rds_enabled
create_db_option_group = var.rds_enabled
Expand Down

0 comments on commit 99ad688

Please sign in to comment.