A demo of AWS codepipeline, using github, codebuild and codedeploy
This repository is a member of the SLT | Storm Library for Terraform, a collection of Terraform modules for Amazon Web Services. The focus of these modules, maintained in separate GitHub™ repositories, is on building examples, demos and showcases on AWS. The audience of the library is learners and presenters alike - people that want to know or show how a certain service, pattern or solution looks like, or "feels".
This demo can be built using GitHub Actions. In order to do so
Deployment of this member will take 4-5 minutes on GitHub resources.
[Image]
Follow these steps in order to explore this demo:
- Developer Tools -> Settings -> Connections: select slt github connection, click "Update Pending Connection"
- In the pipeline, re-run the failed Source action, which will trigger the whole pipeline
- Note that it will be stuck in the Approval stage. Click "Manual Approval", approve and optionally enter a comment
- Wait for the pipeline to finish
- In the Deploy state, click on "Amazon ECS"
- In the ECS view, click on the Load Balancer
- In the Load Balancer view, copy the DNS name
- Use the DNS name in the input of a new tab. NOTE: prefix http://, do NOT use the default https://
- You will see the application page. It's containing info about the Container IP and the Commit SHA from which it was built. Countercheck the Commit SHA
Click to show
| Name | Version |
|---|---|
| terraform | >= 1 |
| aws | >= 6 |
| Name | Version |
|---|---|
| aws | 6.16.0 |
No modules.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| _metadata | Select metadata passed from GitHub Workflows | object({ |
{ |
no |
| github_owner | n/a | string |
"stormreply" |
no |
| github_repo | n/a | string |
"codepipeline-demo" |
no |
| Name | Description |
|---|---|
| _slt_config | Map of SLT configuration |
| load_balancer_dns_name | DNS name of the Application Load Balancer |
| load_balancer_url | URL of the Application Load Balancer |
- [...]