Skip to content

Commit c1804a3

Browse files
committed
Parameterising autoenable sam version variable
1 parent 2a929f7 commit c1804a3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

aws/elb/elb.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ resource "aws_serverlessapplicationrepository_cloudformation_stack" "auto_enable
139139

140140
name = "Auto-Enable-Access-Logs-Elb-${random_string.aws_random.id}"
141141
application_id = "arn:aws:serverlessrepo:us-east-1:956882708938:applications/sumologic-s3-logging-auto-enable"
142-
semantic_version = "1.0.2"
142+
semantic_version = var.app_semantic_version
143143
capabilities = data.aws_serverlessapplicationrepository_application.app.required_capabilities
144144
parameters = {
145145
BucketName = local.bucket_name

aws/elb/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ variable "sumologic_organization_id" {
8989
}
9090
}
9191

92+
variable "app_semantic_version" {
93+
type = string
94+
description = "Provide the latest version of Serverless Application Repository 'sumologic-s3-logging-auto-enable'."
95+
default = "1.0.5"
96+
}
97+
9298
variable "auto_enable_access_logs" {
9399
type = string
94100
description = <<EOT

0 commit comments

Comments
 (0)