Skip to content

Commit fb49c42

Browse files
Merge commit '471052665a704425bbf444f94ad8b6d951dd86e6' into release
2 parents a2e1536 + 4710526 commit fb49c42

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [0.11.3] - 2022-01-30
6+
7+
### Added
8+
9+
- Adds new output for Lambda role ARNs `lambda_execution_role_arns` ([#270](https://github.com/milliHQ/terraform-aws-next-js/pull/270))
10+
511
## [0.11.2] - 2022-01-23
612

713
### Added

README.md

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

257258
<!--- END_TF_DOCS --->

modules/proxy/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
variable "proxy_module_version" {
66
type = string
7-
default = "0.11.2"
7+
default = "0.11.3"
88
}
99

1010
variable "lambda_default_runtime" {

modules/statics-deploy/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ variable "static_files_archive" {
44

55
variable "deploy_trigger_module_version" {
66
type = string
7-
default = "0.11.2"
7+
default = "0.11.3"
88
}
99

1010
variable "expire_static_assets" {

outputs.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,12 @@ output "cloudfront_custom_error_response" {
4444
description = "Preconfigured custom error response the CloudFront distribution should use."
4545
value = local.cloudfront_custom_error_response
4646
}
47+
48+
#####################
49+
# IAM role for Lambda
50+
#####################
51+
52+
output "lambda_execution_role_arns" {
53+
description = "Lambda execution IAM Role ARNs"
54+
value = { for k, v in local.lambdas : k => aws_iam_role.lambda[k].arn }
55+
}

0 commit comments

Comments
 (0)