Skip to content

A Terraform module which contains a Pipeline for deploying a CloudFormation template to an AWS Service Catalog product

Notifications You must be signed in to change notification settings

porrige51122/aws-service-catalog-deployment-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Service Catalog - Deployment Pipeline

image

A pipeline for deploying a cloudformation template to a service catalog product.

As with every piece of code on the internet. Please read through this code (especially ./iam.tf) before deploying to your own aws account.

Requirements

Name Version
terraform >= 0.15
aws >= 4.33.0
local >= 2.2.3

Providers

Name Version
aws >= 4.33.0
local >= 2.2.3

Inputs

Name Description Type Default Required
service_catalog_product The Service Catalog product to deploy the template to
object({
arn = string
id = string
})
n/a yes
template_bucket S3 Bucket resource where the template is stored
object({
arn = string
bucket = string
})
n/a yes
template_path Path to the file inside the zip file string n/a yes
template_zip_object Zipped template object in S3
object({
key = string
})
n/a yes
custom_test_buildspec Custom buildspec for the codebuild container. string "" no
manual_approval_comments (Ignore if manual approval is disabled) The comments displayed to the user when manual approval is needed string "A review is needed for deploying this service catalog product" no
manual_approval_enabled Enable manual approval within the pipeline stages. bool false no
manual_approval_url (Ignore if manual approval is disabled) The url you want to provide to the user as part of the approval request string "" no
tags Resource tagging map(string) {} no

Outputs

Name Description
execution_role The execution role within the codebuild build stage
pipeline_arn The arn of the pipeline created
pipeline_name The name of the pipeline created
pipeline_role The role used for running deployments through codepipeline

Resources

Name Type
aws_codebuild_project.static_tests resource
aws_codepipeline.codepipeline resource
aws_iam_role.codepipeline_role resource
aws_iam_role.execution_role resource
aws_iam_role_policy.codepipeline_policy resource
aws_iam_role_policy.execution_policy resource
aws_s3_bucket.artifact_store resource
aws_s3_bucket_acl.artifact_store_acl resource
aws_caller_identity.current data source
local_file.static_tests_file data source

About

A Terraform module which contains a Pipeline for deploying a CloudFormation template to an AWS Service Catalog product

Topics

Resources

Stars

Watchers

Forks

Languages