Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phuurl/cfn-ssh-key-import
CloudFormation custom resource to import an SSH public key
https://github.com/phuurl/cfn-ssh-key-import
aws cloudformation custom-resource lambda sam
Last synced: 23 days ago
JSON representation
CloudFormation custom resource to import an SSH public key
- Host: GitHub
- URL: https://github.com/phuurl/cfn-ssh-key-import
- Owner: Phuurl
- License: mit
- Created: 2021-04-02T10:39:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-02T12:08:36.000Z (almost 4 years ago)
- Last Synced: 2024-12-29T16:46:07.477Z (27 days ago)
- Topics: aws, cloudformation, custom-resource, lambda, sam
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cfn-ssh-key-import
Custom CloudFormation resource to import an SSH public key to the AWS EC2 service.## Requirements
- [SAM CLI](https://aws.amazon.com/serverless/sam/) (built with 1.21.1)
- [Go](https://golang.org/) (built with 1.15.8)## Usage
The custom resource is very simple to deploy and use.1. Build and deploy the SAM application:
```bash
sam build
sam deploy --guided
```
For more information about the resources deployed as part of this process, see the [SAM template](./template.yaml).
2. Call the custom resource in your CloudFormation template with the public key you wish to import - see the [example template](./example/template.yaml).