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

Integer port number #39160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Sep 5, 2024

  1. Integer port number

    This should allow the following in Python CDKTF:
    ```python
    LbListener(
        stack,
        'http',
        default_action=[
            LbListenerDefaultAction(
                type='redirect',
                redirect=LbListenerDefaultActionRedirect(
                    port=443, protocol='HTTPS', status_code='HTTP_301'
                ),
            ),
        ],
        load_balancer=load_balancer.arn,
        port=80,
        protocol='HTTP',
    ```
    
    Previously `port='443'` was required to avoid
    ```
    TypeError: type of argument port must be one of (str, NoneType); got int instead
    ```
    covracer authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    d50f27c View commit details
    Browse the repository at this point in the history