def METHOD_NAME(
    vault_address: str,
    vault_env_namespace: str,
    resource_args: pulumi.ResourceTransformationArgs,
) -> pulumi.ResourceTransformationResult:
    if resource_args.type_.split(":")[0] == "vault":
        resource_args.opts.provider = get_vault_provider(
            vault_address, vault_env_namespace
        )
    return pulumi.ResourceTransformationResult(
        props=resource_args.props,
        opts=resource_args.opts,
    )