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.
Name | Version |
---|---|
terraform | >= 0.15 |
aws | >= 4.33.0 |
local | >= 2.2.3 |
Name | Version |
---|---|
aws | >= 4.33.0 |
local | >= 2.2.3 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
service_catalog_product | The Service Catalog product to deploy the template to | object({ |
n/a | yes |
template_bucket | S3 Bucket resource where the template is stored | object({ |
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({ |
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 |
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 |
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 |