--- layout: "aws" page_title: "AWS: aws_codepipeline" sidebar_current: "docs-aws-resource-codepipeline" description: |- Provides a CodePipeline --- # aws\_codepipeline Provides a CodePipeline. ~> **NOTE on `aws_codepipeline`:** - the `GITHUB_TOKEN` environment variable must be set if the GitHub provider is specified. ## Example Usage ``` resource "aws_s3_bucket" "foo" { bucket = "test-bucket" acl = "private" } resource "aws_iam_role" "foo" { name = "test-role" assume_role_policy = <