Skip to content

Build a plugin system to support other clouds #67

@bekbulatov

Description

@bekbulatov

SSHA is limited to AWS support and I would use it with other public or private clouds.

I suggest to refactor the ssha package to separate the core and provider-specific plugins.

The core functionality (settings, menu, bastions, ssh) stays within SSHA and AWS-specific features (instance discovery, iam, ssm) can be placed in an AWS plugin. Later a GCP plugin or any other can be added. I plan to keep plugins in this repo but they can be moved out in the future.

The provider option will be added to the ssha block

ssha {
  provider = "ssha.aws"
}

It will default to AWS so no changes in settings expected from users.

Ray, what are your thoughts on it? I can do the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions