Skip to content

env variables config #139

Description

@Strick3r

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions