File tree 6 files changed +6
-14
lines changed
6 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 42
42
43
43
[ ![ Cloud Posse] [ logo ]] ( https://cpco.io/homepage )
44
44
45
- # terraform-aws-ecs-codepipeline [ ![ Codefresh Build Status ] ( https://g.codefresh.io/api/badges/pipeline/ cloudposse/terraform-modules%2Fterraform- aws-ecs-codepipeline?type=cf-1 )] ( https://g.codefresh.io/public/accounts/ cloudposse/pipelines/5db7b474041f802a8893f018 ) [ ![ Latest Release] ( https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-codepipeline.svg )] ( https://github.com/cloudposse/terraform-aws-ecs-codepipeline/releases/latest ) [ ![ Slack Community] ( https://slack.cloudposse.com/badge.svg )] ( https://slack.cloudposse.com )
45
+ # terraform-aws-ecs-codepipeline [ ![ GitHub Action Tests ] ( https://github.com/ cloudposse/terraform-aws-ecs-codepipeline/workflows/test/badge.svg?branch=master )] ( https://github.com/ cloudposse/terraform-aws-ecs-codepipeline/actions ) [ ![ Latest Release] ( https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-codepipeline.svg )] ( https://github.com/cloudposse/terraform-aws-ecs-codepipeline/releases/latest ) [ ![ Slack Community] ( https://slack.cloudposse.com/badge.svg )] ( https://slack.cloudposse.com )
46
46
47
47
48
48
Terraform Module for CI/CD with AWS Code Pipeline using GitHub webhook triggers and Code Build for ECS.
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ github_repo: cloudposse/terraform-aws-ecs-codepipeline
18
18
19
19
# Badges to display
20
20
badges :
21
- - name : " Codefresh Build Status "
22
- image : " https://g.codefresh.io/api/badges/pipeline/ cloudposse/terraform-modules%2Fterraform- aws-ecs-codepipeline?type=cf-1 "
23
- url : " https://g.codefresh.io/public/accounts/ cloudposse/pipelines/5db7b474041f802a8893f018 "
21
+ - name : " GitHub Action Tests "
22
+ image : " https://github.com/ cloudposse/terraform-aws-ecs-codepipeline/workflows/test/badge.svg?branch=master "
23
+ url : " https://github.com/ cloudposse/terraform-aws-ecs-codepipeline/actions "
24
24
- name : " Latest Release"
25
25
image : " https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-codepipeline.svg"
26
26
url : " https://github.com/cloudposse/terraform-aws-ecs-codepipeline/releases/latest"
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ container_port_mappings = [
80
80
81
81
github_oauth_token = " test"
82
82
83
- github_webhooks_token = " test"
84
-
85
83
repo_owner = " cloudposse"
86
84
87
85
repo_name = " terraform-aws-ecs-codepipeline"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module "vpc" {
24
24
}
25
25
26
26
module "subnets" {
27
- source = " git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.16.1 "
27
+ source = " git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.19.0 "
28
28
availability_zones = var. availability_zones
29
29
namespace = var. namespace
30
30
stage = var. stage
@@ -91,7 +91,6 @@ module "ecs_codepipeline" {
91
91
name = var. name
92
92
region = var. region
93
93
github_oauth_token = var. github_oauth_token
94
- github_webhooks_token = var. github_webhooks_token
95
94
repo_owner = var. repo_owner
96
95
repo_name = var. repo_name
97
96
branch = var. branch
Original file line number Diff line number Diff line change @@ -159,11 +159,6 @@ variable "github_oauth_token" {
159
159
description = " GitHub OAuth Token with permissions to access private repositories"
160
160
}
161
161
162
- variable "github_webhooks_token" {
163
- type = string
164
- description = " GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable"
165
- }
166
-
167
162
variable "repo_owner" {
168
163
type = string
169
164
description = " GitHub Organization or Username"
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ resource "aws_codepipeline_webhook" "webhook" {
309
309
}
310
310
311
311
module "github_webhooks" {
312
- source = " git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.5 .0"
312
+ source = " git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.7 .0"
313
313
enabled = var. enabled && var. webhook_enabled ? true : false
314
314
github_organization = var. repo_owner
315
315
github_repositories = [var . repo_name ]
You can’t perform that action at this time.
0 commit comments