Loading repository data…
Loading repository data…
dorneanu / repository
AWS Lambda baked AWS custom resource PoC in Golang
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
AWS custom resources using Golang, Lambda and TypeScript.
This is ready-to-deploy proof of concept leveraging Golang to efficiently handle the lifecycle management
of so called [[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html][AWS custom resources]]. This repository exemplifies how to use these to create [[https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html][SSM parameters]] of type
SecureString in CDK. You can, of course, use this repository as a template for more advanced custom resources.
📖 You can read more on my blog at [[https://blog.dornea.nu/2023/04/06/aws-custom-resources-with-lambda-and-golang/][AWS Custom resources with Lambda and Golang]].
Make sure you first install all dependencies:
Then clone this repository:
#+begin_src sh $ git clone https://github.com/dorneanu/aws-custom-resource-golang #+end_src
Then install all npm dependencies:
#+begin_src sh $ cd deployments $ npm i --save-dev added 310 packages in 3s
30 packages are looking for funding
run npm fund for details
#+end_src
I always recommend to first run cdk diff before deploying. This way you can review the
changes before it's to late:
#+begin_src sh $ npx aws-cdk diff #+end_src
Afterwards you can deploy:
#+begin_src sh $ npx aws-cdk deploy #+end_src