Skip to content

Simple demo on how to use Terraform to provision an AWS ECR (Elastic Container Repository) and associated IAM user with permissions to ECR. Build and push a docker image using CircleCI to create a very basic CI (CD) pipeline in code

Notifications You must be signed in to change notification settings

NYARAS/terraform-golang-circleci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Terraform+CircleCI Example

This repository is the near-simplest example of provisioning infrastructure on Amazon Web Services (AWS), using Terraform and setting up CI/CD with CircleCI to build and deploy simple golang image to ECR.

Details

This repository sets up:

Setup

  1. Install the following locally:
  2. Set up AWS credentials in ~/.aws/credentials.

Usage

More information about the AWS environment variables. If it is successful, you should see an address printed out at the end. Visit this in your browser, and the page should say "Welcome to nginx!"

Notes

Cleanup

cd terraform
terraform destroy

About

Simple demo on how to use Terraform to provision an AWS ECR (Elastic Container Repository) and associated IAM user with permissions to ECR. Build and push a docker image using CircleCI to create a very basic CI (CD) pipeline in code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages