codepipeline-iam-role

dod-iac/codepipeline-iam-role/aws

Terraform Module HCL AWS

Creates an IAM role for use as a CodePipeline service role.

Install
module "codepipeline-iam-role" {
source = "dod-iac/codepipeline-iam-role/aws"
version = "1.0.1"
}
plain text: /constructs/tfmod-dod-iac-codepipeline-iam-role-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates an IAM role for use as a CodePipeline service role. ``hcl module "codepipeline_iam_role" { source = "dod-iac/codepipeline-iam-role/aws" name = format("app-%s-codepipeline-iam-role-%s", var.application, var.environment) codebuild_projects_start = [""] codecommit_repos_watch = [""] s3_buckets_artifacts = ["*"] tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to main branch. Terraform 0.11 and 0.12 are not supported. License This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. However, because the project utilizes code licensed from contributors and other third

Inputs (8)
NameTypeDescriptionDefault
namestringThe name of the AWS IAM role. required
s3_buckets_artifactslist(string)The ARNs of the AWS S3 buckets that will be used by the pipeline for storing inp[]
assume_role_policystringThe assume role policy for the AWS IAM role. If blank, allows CodePipeline to a""
policy_descriptionstringThe description of the AWS IAM policy. Defaults to "The policy for [NAME]".""
policy_namestringThe name of the AWS IAM policy. Defaults to "[NAME]-policy".""
tagsmap(string)Tags applied to the AWS IAM role.{}
codebuild_projects_startlist(string)The ARNs of the CodeBuild projects that the pipeline will run. Use ["*"] to all[]
codecommit_repos_watchlist(string)The ARNs of the CodeCommit repos that the pipeline will watch. Use ["*"] to all[]
Outputs (2)
arn — The Amazon Resource Name (ARN) of the AWS IAM Role.
name — The name of the AWS IAM Role.
Resources (3)
aws_iam_policyaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud AWS
★ Stars0
Forks1
Total downloads3.8k
Inputs8
Outputs2
Resources3
LicenseMIT
Namespacedod-iac
Updated