Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
carly-cloud opened this issue Jan 5, 2025 · 0 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@carly-cloud
Copy link

carly-cloud commented Jan 5, 2025

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

@carly-cloud carly-cloud added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 5, 2025
@carly-cloud carly-cloud changed the title (short issue description) The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet. Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant