diff --git a/internal/pkg/deploy/cloudformation/stack/testdata/workloads/backend/simple-template.yml b/internal/pkg/deploy/cloudformation/stack/testdata/workloads/backend/simple-template.yml index 2421825e317..d15c1f13db2 100644 --- a/internal/pkg/deploy/cloudformation/stack/testdata/workloads/backend/simple-template.yml +++ b/internal/pkg/deploy/cloudformation/stack/testdata/workloads/backend/simple-template.yml @@ -30,6 +30,10 @@ Parameters: LogRetention: Type: Number Default: 30 + TargetContainer: + Type: String + TargetPort: + Type: Number Conditions: HasAddons: !Not [!Equals [!Ref AddonsTemplateURL, ""]] HasEnvFile: !Not [!Equals [!Ref EnvFileARN, ""]] diff --git a/internal/pkg/template/templates/workloads/services/backend/cf.yml b/internal/pkg/template/templates/workloads/services/backend/cf.yml index 10bcc418524..38d4d788f20 100644 --- a/internal/pkg/template/templates/workloads/services/backend/cf.yml +++ b/internal/pkg/template/templates/workloads/services/backend/cf.yml @@ -35,11 +35,11 @@ Parameters: LogRetention: Type: Number Default: 30 - {{- if .ALBEnabled}} TargetContainer: Type: String TargetPort: Type: Number + {{- if .ALBEnabled}} HTTPSEnabled: Type: String AllowedValues: [true, false]