Skip to content

A custom action build on Lambda to deploy to OpsWorks from AWS Code Pipeline.

License

Notifications You must be signed in to change notification settings

Tim-B/codepipeline-opsworks-deployer

Repository files navigation

CodePipeline OpsWorks Deployer

Update: CodePipeline now has built-in support for both Lambda and OpsWorks so you should take a look at the built-in functionality before using this project.

What is this?

This is a Lambda function which allows you to deploy to OpsWorks using CodePipeline by implementing a custom action.

You can find a full guide on setting it up on my blog

When configured you can use it just like the inbuilt stage actions: Diagram

How does it work?

It uses S3 put notifications to trigger the Lambda function, then SNS retries to implement polling.

Here's a general diagram of how it works:

Diagram

How do I develop on this?

You might find the following two grunt functions useful:

grunt lambda_invoke_monitor grunt lambda_invoke_task

You may also want to monitor the two event_something.json files to reference resources within your own account.

Finally, if you're using this as a base for another action you might want to change the buildProvider variable in lib/handle_job.js to a different name.

About

A custom action build on Lambda to deploy to OpsWorks from AWS Code Pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published