Currently, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are marked as an optional environment keys and are not enforced but are technically required for the production environment.
https://github.com/YashdalfTheGray/statusinator/blob/66d258fba974c781e571985a4b1c79c08ecbbc72/env/constants.go#L28-L29
Likewise, SERVICE_ROLE_ARN is marked as a required environment key and is enforced but is an optional key for the production environment and is only mandatory in the development environment.
https://github.com/YashdalfTheGray/statusinator/blob/66d258fba974c781e571985a4b1c79c08ecbbc72/env/constants.go#L24
We need a way for the system to handle the swapping of optional and required (read: enforced) environment keys depending on which environment you are running in.
Currently,
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYare marked as an optional environment keys and are not enforced but are technically required for the production environment.https://github.com/YashdalfTheGray/statusinator/blob/66d258fba974c781e571985a4b1c79c08ecbbc72/env/constants.go#L28-L29
Likewise,
SERVICE_ROLE_ARNis marked as a required environment key and is enforced but is an optional key for the production environment and is only mandatory in the development environment.https://github.com/YashdalfTheGray/statusinator/blob/66d258fba974c781e571985a4b1c79c08ecbbc72/env/constants.go#L24
We need a way for the system to handle the swapping of optional and required (read: enforced) environment keys depending on which environment you are running in.