Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Infra: Upgrade project to terraform 0.12 #66

Merged
merged 12 commits into from
Jan 16, 2020
Prev Previous commit
Update to published tf-aws-sls 1.0 module.
  • Loading branch information
ryan-roemer committed Jan 15, 2020
commit 45529e562ebe106fceb3f9e19aa355d448b72c45
16 changes: 8 additions & 8 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ JSON
# Base `serverless` IAM support
###############################################################################
module "serverless" {
source = "../../terraform-aws-serverless"
# version = "0.8.8"
source = "FormidableLabs/serverless/aws"
version = "1.0.0"

region = var.region
service_name = var.service_name
Expand Down Expand Up @@ -77,8 +77,8 @@ module "serverless" {
# OPTION(xray): Add X-ray support to lambda execution roles.
###############################################################################
module "serverless_xray" {
source = "../../terraform-aws-serverless//modules/xray"
# version = "0.8.8"
source = "FormidableLabs/serverless/aws//modules/xray"
version = "1.0.0"

# Same variables as for `serverless` module.
region = var.region
Expand Down Expand Up @@ -216,8 +216,8 @@ STACK

# OPTION(vpc): Add in IAM permissions to humans + lambda execution role.
module "serverless_vpc" {
source = "../../terraform-aws-serverless//modules/vpc"
# version = "0.8.8"
source = "FormidableLabs/serverless/aws//modules/vpc"
version = "1.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏


# Same variables as for `serverless` module.
region = var.region
Expand Down Expand Up @@ -287,8 +287,8 @@ STACK

# OPTION(canary): Add serverless-plugin-canary-deployments to lambda execution roles.
module "serverless_canary" {
source = "../../terraform-aws-serverless//modules/canary"
# version = "0.8.8"
source = "FormidableLabs/serverless/aws//modules/canary"
version = "1.0.0"

# Same variables as for `serverless` module.
region = var.region
Expand Down