tapir icon indicating copy to clipboard operation
tapir copied to clipboard

Can we reuse deploy key

Open loispostula opened this issue 10 months ago • 2 comments

We are starting to use tapir, it looks very promising.

We have about a 100 modules that are currently deployed via ci/cd using git tags. We'd like to transition them to use tapir.

But it seems cumbersome to create, store, and manage that amount of deploy keys.

Is it possible to either:

  • Reuse a deploy key for multiple modules
  • Create and manage them using a terraform provider?

loispostula avatar Apr 23 '24 07:04 loispostula

thanks for your request @loispostula Indeed this is not ideally handled. As of now you can not share neither manage them via terraform provider (may be viable option) However, i see a use case and consider to come up with an optimization that allows to create deploykeys, that could be scoped to namespaces. In that case i still would distinguish between deploykeys for modules and providers. WDYT?

PacoVK avatar Apr 23 '24 17:04 PacoVK

I think that would makes a lot of sense. fyi currently, we source the deploykey from the elasticsearch directly which is easier to handle from a ci/cd pov, as we only need to manage the access to the backend (not ideal)

loispostula avatar Apr 23 '24 17:04 loispostula

@all-contributors please add @loispostula for code, docs, ideas

PacoVK avatar Sep 26 '24 09:09 PacoVK

@PacoVK

I've put up a pull request to add @loispostula! :tada:

allcontributors[bot] avatar Sep 26 '24 09:09 allcontributors[bot]