-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi!
I'm using symfony 4 and when I try to set the config parameters fom env variables, a throw execption is launched because try to check if the queue name finish with ".fifo"
//qpush.yaml
uecode_qpush:
logging_enabled: true
providers:
opta:
driver: aws
region: '%env(AWS_SQS_REGION)%'
queues:
opta_messaging:
provider: opta
options:
message_timeout: 30
queue_name: '%env(resolve:AWS_SQS_QUEUE_NAME)%'
push_notifications: false
notification_retries: 3
message_delay: 0
message_expiration: 0
fifo: true
content_based_deduplication: false
messages_to_receive: 1
receive_wait_time: 3
//.env
###> aws/aws-sdk-php-symfony ###
AWS_SQS_REGION=us-east-2
AWS_SQS_QUEUE_NAME=testing.fifo
###< aws/aws-sdk-php-symfony ###
The env variables are encripted, then the real name is not set. As you see I trie to use the resolve in the env variable, but not function.
Thank you.