Skip to content

Commit 33b1335

Browse files
committed
fix stale hardcoded solution stack version - use dynamic latest-Docker-stack lookup instead
1 parent 3e6c6f0 commit 33b1335

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

infrastructure/modules/elasticbeanstalk/variables.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ variable "environment" {
1111
}
1212

1313
variable "solution_stack_name" {
14-
description = "Elastic Beanstalk solution stack name"
14+
description = "Elastic Beanstalk solution stack name. Leave empty to auto-detect the latest matching Docker stack (see the data source below) - AWS periodically deprecates specific patch versions, so pinning one here will eventually break CreateEnvironment with 'No Solution Stack named ... found' (as v4.11.0 just did)."
1515
type = string
16-
# Find the latest: aws elasticbeanstalk list-available-solution-stacks
17-
default = "64bit Amazon Linux 2023 v4.11.0 running Docker"
16+
default = ""
1817
}
1918

2019
variable "vpc_id" {

0 commit comments

Comments
 (0)