I'm running into an issue with creating a Vault da...
# general
a
I'm running into an issue with creating a Vault database connection due to errors with parsing the connection URL. I'm not sure if it's because I'm trying to pass in the host_url as an Output object and it's not resolving before trying to pass it to Vault?
Copy code
db_config.db_connection = 'postgres://{{db_user}}:{{db_pass}}@{{db_host}}:{{db_port}}/{{db_name}}'        
self.db_connection = database.SecretBackendConnection(
            f'{db_config.db_name}-database-connection',
            opts=resource_opts.merge(ResourceOptions(parent=self.db_mount)),
            backend=db_config.mount_point,
            verify_connection=db_config.verify_connection,
            name=db_config.db_name,
            data={
                'username': db_config.db_admin_username,
                'password': db_config.db_admin_password,
                'db_host': db_config.db_host,
                'db_port': db_config.db_port,
                'db_name': db_config.db_name
            },
            **{db_config.db_type: {
                'connection_url': db_config.db_connection
            }}
        )