@@ -124,6 +124,9 @@ Resources:
|
||||
PortMappings:
|
||||
- ContainerPort: !Ref ContainerPort
|
||||
# Define which parameters should be fetched
|
||||
Environment:
|
||||
- Name: ENVIRONMENT_NAME
|
||||
Value: !Ref EnvironmentName
|
||||
Secrets:
|
||||
- Name: "SQLALCHEMY_DATABASE_URI"
|
||||
ValueFrom: !Sub "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/${EnvironmentName}/SQLALCHEMY_DATABASE_URI"
|
||||
|
||||
Reference in New Issue
Block a user