You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to make a suggestion about the version_number. This implementation can get the version_number, but I would like to avoid this implementation because it is like a hard-coded.
So, Can you implement on output.tf like this?
output "version_number" {
value = tonumber(split(":", aws_lambda_layer_version.main.arn)[length(split(":", aws_lambda_layer_version.main.arn)) - 1])
description = "The Lamba layer version number."
}
I hope this module will be used by more developers!
The text was updated successfully, but these errors were encountered:
Hi, I often use your terraform module because it is very useful to make a layer!
Suggestion
I want to use the layers I created in a cross account, so I need to grant permissions on terraform as follows.
I would like to make a suggestion about the
version_number
. This implementation can get the version_number, but I would like to avoid this implementation because it is like a hard-coded.So, Can you implement on
output.tf
like this?I hope this module will be used by more developers!
The text was updated successfully, but these errors were encountered: