We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can't add rules to ALB anymore.
Bug Report
amazon.aws.elb_application_lb
ansible [core 2.18.0] config file = None configured module search path = ['/Users/xxx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/homebrew/Cellar/ansible/11.0.0/libexec/lib/python3.13/site-packages/ansible ansible collection location = /Users/xxx/.ansible/collections:/usr/share/ansible/collections executable location = /opt/homebrew/bin/ansible python version = 3.13.0 (main, Oct 7 2024, 05:02:14) [Clang 15.0.0 (clang-1500.3.9.4)] (/opt/homebrew/Cellar/ansible/11.0.0/libexec/bin/python) jinja version = 3.1.4 libyaml = True
$ ansible-galaxy collection list
Name: boto3 Version: 1.35.64 Summary: The AWS SDK for Python Home-page: https://github.com/boto/boto3 Author: Amazon Web Services Author-email: License: Apache License 2.0 Location: /opt/homebrew/Cellar/ansible/11.0.0/libexec/lib/python3.13/site-packages Requires: botocore, jmespath, s3transfer Required-by: --- Name: botocore Version: 1.35.64 Summary: Low-level, data-driven core of boto 3. Home-page: https://github.com/boto/botocore Author: Amazon Web Services Author-email: License: Apache License 2.0 Location: /opt/homebrew/Cellar/ansible/11.0.0/libexec/lib/python3.13/site-packages Requires: jmespath, python-dateutil, urllib3 Required-by: boto3, s3transfer
$ ansible-config dump --only-changed
Mac OS
amazon.aws.elb_application_lb: name: "{{ ansible_env.HULFTENV }}-main-{{ color }}" purge_listeners: true state: present subnets: - "{{ private_subnet_info1.subnets[0].subnet_id }}" - "{{ private_subnet_info2.subnets[0].subnet_id }}" security_groups: - "{{ lookup('amazon.aws.aws_secret', 'network/{{ansible_env.HULFTENV}}.VPCSecurityGroup', nested=true) }}" listeners: - Protocol: HTTP Port: 80 DefaultActions: - Type: fixed-response FixedResponseConfig: ContentType: "text/plain" MessageBody: "This NOT the page you're looking for" StatusCode: "503" Rules: - Conditions: - Field: path-pattern Values: - '/web/*' Priority: '1' Actions: - TargetGroupName: "ms-web-{{ color }}-tg" Type: forward
Rules add to ALB
"msg": "Failed to describe rules: Parameter validation failed:\nInvalid type for parameter ListenerArn, value: None, type: <class 'NoneType'>, valid types: <class 'str'>" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Can't add rules to ALB anymore.
Issue Type
Bug Report
Component Name
amazon.aws.elb_application_lb
Ansible Version
Collection Versions
$ ansible-galaxy collection list
AWS SDK versions
Configuration
$ ansible-config dump --only-changed
OS / Environment
Mac OS
Steps to Reproduce
Expected Results
Rules add to ALB
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: