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

Добавить возможность указывать latest версию секретов в конфиге #440

Open
MSITETOP opened this issue Jul 20, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MSITETOP
Copy link

Я использую github yc-actions / yc-sls-function для деплоя функций

https://github.com/yc-actions/yc-sls-function/blob/v2.8.0/action.yml
указано , что для передачи секретов формат записи такой
secrets:
description: 'Lockbox secrets. Pattern: "=//". Multiline'
default: ''
required: false

как подставить - latest?

к примеру запись
secrets: |
ydb_endpoint=.../latest/ydb_endpoint
ydb_database=.../latest/ydb_database
client_secret=.../latest/client_secret
client_id=.../latest/client_id

не катит, ругается
ClientError: /yandex.cloud.serverless.functions.v1.FunctionService/CreateVersion NOT_FOUND: Secret ... or its version latest not found

@nikolaymatrosov nikolaymatrosov added enhancement New feature or request good first issue Good for newcomers labels Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants