platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

[Feature]: Add validation of environment variables param in container-app module #608

Open raix opened 2 weeks ago

raix commented 2 weeks ago

Contact Details

No response

Detailed description?

Is your feature request related to a problem? Please describe. When setting environment variables using the container-app.bicep module only values of type "string" should be allowed

If passing on a number value in environment variables it will result in: Image

Describe the solution you'd like Ideally the param validation should happen before deployment

Describe alternatives you've considered Currently setting string values

Additional context

Example of a solution adding types in params: Image

Feature Type

Infrastructure

Code of Conduct

linear[bot] commented 2 weeks ago

PP-226 [Feature]: Add validation of environment variables param in container-app module