def METHOD_NAME(vector_config: VectorConfig):
    for fpath, context in vector_config.configuration_templates.items():
        files.template(
            name=f"Upload Vector configuration file {fpath}",
            src=str(fpath),
            dest=str(
                vector_config.configuration_directory.joinpath(
                    fpath.name.removesuffix(".j2")
                )
            ),
            user=vector_config.user,
            context=context,
        )
    # Validate the vector configuration files that were laid down
    # and confirm that vector starts without issue.
    #
    # TODO MD 20230127 This won't work once we switch the sink config to be  # noqa: E501, FIX002, TD002, TD003, TD004
    # consul/vault templates. Need to come up with something else or remove
    # this entirely. Vector now offers unit tests so perhaps we can use that.
    server.shell(
        name="Run vector validate",
        commands=["/usr/bin/vector validate --no-environment"],
        _env={
            "VECTOR_CONFIG_DIR": "/etc/vector",
            "AWS_REGION": "us-east-1",
            "ENVIRONMENT": "placeholder",
            "APPLICATION": "placeholder",
            "SERVICE": "placeholder",
            "FASTLY_PROXY_PASSWORD": "placeholder",  # pragma: allowlist secret
            "FASTLY_PROXY_USERNAME": "placeholder",
            "GRAFANA_CLOUD_API_KEY": "placeholder",  # pragma: allowlist secret
            "HOSTNAME": "placeholder",
            "HEROKU_PROXY_PASSWORD": "placeholder",  # pragma: allowlist secret
            "HEROKU_PROXY_USERNAME": "placeholder",
        },
    )