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

Can't set config on aws credentials block #16792

Open
obendidi opened this issue Jan 21, 2025 · 0 comments
Open

Can't set config on aws credentials block #16792

obendidi opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@obendidi
Copy link

Bug summary

Hello 👋

It seems like there is a bug on the interface and API of the config option in aws credentials, it can't 'be set using either the interface or the :

Image

It only says object, but I can't write anywhere.

When using the API:

def create_aws_credentials_block(overwrite: bool = False):
    # uses env vars to get the credentials
    parameters = AwsClientParameters(
        config={
            "read_timeout": 900,
            "connect_timeout": 900,
            "max_pool_connections": 100,
            "region_name": "us-west-2",
            "retries": {"max_attempts": 10, "mode": "standard"},
        }
    )
    credentials = AwsCredentials(aws_client_parameters=parameters)
    credentials.save("default", overwrite=overwrite)

The block is correctly created, but the config of parameters is empty

Version info

Version:             3.1.13
API version:         0.8.4
Python version:      3.12.3
Git commit:          16e85ce3
Built:               Fri, Jan 17, 2025 8:46 AM
OS/Arch:             linux/x86_64
Profile:             staging
Server type:         server
Pydantic version:    2.10.5
Integrations:
  prefect-sqlalchemy: 0.5.2
  prefect-slack:     0.3.1
  prefect-aws:       0.5.3

Additional context

No response

@obendidi obendidi added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant