Skip to content

Commit

Permalink
Merge commit '471052665a704425bbf444f94ad8b6d951dd86e6' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 30, 2022
2 parents a2e1536 + 4710526 commit fb49c42
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## [0.11.3] - 2022-01-30

### Added

- Adds new output for Lambda role ARNs `lambda_execution_role_arns` ([#270](https://github.com/milliHQ/terraform-aws-next-js/pull/270))

## [0.11.2] - 2022-01-23

### Added
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ You can create a `.terraformignore` in the root of your project and add the foll
| cloudfront\_hosted\_zone\_id | Zone id of the main CloudFront distribution (When created). |
| cloudfront\_ordered\_cache\_behaviors | Preconfigured ordered cache behaviors the CloudFront distribution should use. |
| cloudfront\_origins | Preconfigured origins the CloudFront distribution should use. |
| lambda\_execution\_role\_arns | Lambda execution IAM Role ARNs |
| static\_upload\_bucket\_id | n/a |

<!--- END_TF_DOCS --->
Expand Down
2 changes: 1 addition & 1 deletion modules/proxy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

variable "proxy_module_version" {
type = string
default = "0.11.2"
default = "0.11.3"
}

variable "lambda_default_runtime" {
Expand Down
2 changes: 1 addition & 1 deletion modules/statics-deploy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ variable "static_files_archive" {

variable "deploy_trigger_module_version" {
type = string
default = "0.11.2"
default = "0.11.3"
}

variable "expire_static_assets" {
Expand Down
9 changes: 9 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ output "cloudfront_custom_error_response" {
description = "Preconfigured custom error response the CloudFront distribution should use."
value = local.cloudfront_custom_error_response
}

#####################
# IAM role for Lambda
#####################

output "lambda_execution_role_arns" {
description = "Lambda execution IAM Role ARNs"
value = { for k, v in local.lambdas : k => aws_iam_role.lambda[k].arn }
}

0 comments on commit fb49c42

Please sign in to comment.