Skip to content

The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet. #108

Open
@carly-cloud

Description

@carly-cloud

Might be related to #88

Describe the bug

I am getting this warning for my AWS Symfony configuration:

app.WARNING: Failed to generate ConfigBuilder for extension Aws\Symfony\DependencyInjection\AwsExtension: The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet. {"exception":"[object] (LogicException(code: 0): The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet. at /www/vendor/symfony/config/Builder/ConfigBuilderGenerator.php:108)","extensionClass":"Aws\\Symfony\\DependencyInjection\\AwsExtension"} []

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

not showing a warning

Current Behavior

showing warning message

Reproduction Steps

aws.yaml

when@prod:
  aws:
    version: latest
    region: eu-central-1
    credentials: ~
    DynamoDb:
      region: us-east-1

when@dev:
  aws:
    version: latest
    region: eu-central-1
    profile: staging
    DynamoDb:
      region: us-east-1

Possible Solution

No response

Additional Information/Context

SDK version used

aws/aws-sdk-php-symfony: 2.7
aws/aws-sdk-php 3.336

Environment details (OS name and version, etc.)

PHP 8.3.10
Amazon Linux 2023

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions