Skip to content

Commit 8dc9c29

Browse files
Updating modules dependencies (#19)
* Updating modules dependencies * Updating modules dependencies * Adding new ChatOps * Updated README.md * Fixing test and output vars * Fixing github test * Fixing github test * Fixing github test * Fixing github test * Fixing github test * Adding var export for github test * Adding var export for github test * Executed 'terraform fmt' * Updated README.md * Adding random attribute to tests * Adding random attribute to tests * Adding random attribute to tests * Adding random attribute to tests Co-authored-by: actions-bot <[email protected]>
1 parent b71eedc commit 8dc9c29

File tree

13 files changed

+446
-360
lines changed

13 files changed

+446
-360
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# Use this file to define individuals or teams that are responsible for code in a repository.
22
# Read more: <https://help.github.com/articles/about-codeowners/>
3+
#
4+
# Order is important: the last matching pattern takes the most precedence
35

4-
* @cloudposse/engineering
6+
# These owners will be the default owners for everything
7+
* @cloudposse/engineering @cloudposse/contributors
8+
9+
# Cloud Posse must review any changes to Makefiles
10+
**/Makefile @cloudposse/engineering
11+
**/Makefile.* @cloudposse/engineering
12+
13+
# Cloud Posse must review any changes to GitHub actions
14+
.github/* @cloudposse/engineering

README.md

Lines changed: 171 additions & 153 deletions
Large diffs are not rendered by default.

README.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ screenshots:
2424

2525
# Badges to display
2626
badges:
27-
- name: "Codefresh Build Status"
28-
image: "https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-ecs-atlantis?type=cf-1"
29-
url: "https://g.codefresh.io/public/accounts/cloudposse/pipelines/5dc082b14d7990012e651a3b"
3027
- name: "Latest Release"
3128
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-atlantis.svg"
3229
url: "https://github.com/cloudposse/terraform-aws-ecs-atlantis/releases/latest"

docs/terraform.md

Lines changed: 170 additions & 152 deletions
Large diffs are not rendered by default.

examples/complete/fixtures.us-east-2.tfvars

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ webhook_enabled = false
3636

3737
github_oauth_token = "test"
3838

39-
github_webhooks_token = "test"
40-
4139
atlantis_gh_user = "test"
4240

4341
atlantis_gh_team_whitelist = "dev:plan,ops:*"

examples/complete/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "label" {
1313
}
1414

1515
module "vpc" {
16-
source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=tags/0.8.1"
16+
source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=tags/0.14.0"
1717
namespace = var.namespace
1818
stage = var.stage
1919
name = var.name
@@ -24,7 +24,7 @@ module "vpc" {
2424
}
2525

2626
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"
2828
availability_zones = var.availability_zones
2929
namespace = var.namespace
3030
stage = var.stage
@@ -40,7 +40,7 @@ module "subnets" {
4040
}
4141

4242
module "alb" {
43-
source = "git::https://github.com/cloudposse/terraform-aws-alb.git?ref=tags/0.7.0"
43+
source = "git::https://github.com/cloudposse/terraform-aws-alb.git?ref=tags/0.11.0"
4444
namespace = var.namespace
4545
stage = var.stage
4646
name = var.name
@@ -72,7 +72,7 @@ resource "aws_sns_topic" "sns_topic" {
7272
}
7373

7474
module "kms_key" {
75-
source = "git::https://github.com/cloudposse/terraform-aws-kms-key.git?ref=tags/0.3.0"
75+
source = "git::https://github.com/cloudposse/terraform-aws-kms-key.git?ref=tags/0.4.0"
7676
enabled = var.enabled
7777
namespace = var.namespace
7878
stage = var.stage

examples/complete/outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ output "ecr_registry_id" {
8383
description = "Registry ID"
8484
}
8585

86-
output "ecr_registry_url" {
87-
value = module.atlantis.ecr_registry_url
88-
description = "Registry URL"
86+
output "ecr_repository_url" {
87+
value = module.atlantis.ecr_repository_url
88+
description = "Repository URL"
8989
}
9090

9191
output "ecr_repository_name" {
9292
value = module.atlantis.ecr_repository_name
93-
description = "Registry name"
93+
description = "Repository name"
9494
}
9595

9696
output "alb_ingress_target_group_name" {

examples/complete/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ variable "github_oauth_token" {
6868
variable "github_webhooks_token" {
6969
type = string
7070
description = "GitHub OAuth Token with permissions to create webhooks. If not provided the token is looked up from SSM"
71+
default = ""
7172
}
7273

7374
variable "codepipeline_enabled" {

main.tf

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ locals {
3939
# Modules
4040
#--------------------------------------------------------------
4141
module "ssh_key_pair" {
42-
source = "git::https://github.com/cloudposse/terraform-aws-ssm-tls-ssh-key-pair.git?ref=tags/0.4.0"
42+
source = "git::https://github.com/cloudposse/terraform-aws-ssm-tls-ssh-key-pair.git?ref=tags/0.5.0"
4343
enabled = var.enabled
4444
namespace = var.namespace
4545
stage = var.stage
@@ -51,19 +51,21 @@ module "ssh_key_pair" {
5151
kms_key_id = local.kms_key_id
5252
}
5353

54-
module "webhooks" {
55-
source = "git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.5.0"
56-
enabled = var.enabled && var.webhook_enabled
57-
github_token = local.github_webhooks_token
58-
webhook_secret = local.atlantis_gh_webhook_secret
59-
webhook_url = local.atlantis_webhook_url
60-
github_organization = var.repo_owner
61-
github_repositories = [var.repo_name]
62-
events = var.webhook_events
54+
module "github_webhooks" {
55+
source = "git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.8.0"
56+
enabled = var.enabled && var.webhook_enabled ? true : false
57+
github_anonymous = var.github_anonymous
58+
github_organization = var.repo_owner
59+
github_repositories = [var.repo_name]
60+
github_token = local.github_webhooks_token
61+
webhook_secret = local.atlantis_gh_webhook_secret
62+
webhook_url = local.atlantis_webhook_url
63+
webhook_content_type = "json"
64+
events = var.webhook_events
6365
}
6466

6567
module "ecs_web_app" {
66-
source = "git::https://github.com/cloudposse/terraform-aws-ecs-web-app.git?ref=tags/0.24.0"
68+
source = "git::https://github.com/cloudposse/terraform-aws-ecs-web-app.git?ref=tags/0.31.0"
6769
namespace = var.namespace
6870
stage = var.stage
6971
name = var.name

outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ output "ecr_registry_id" {
1818
description = "Registry ID"
1919
}
2020

21-
output "ecr_registry_url" {
22-
value = module.ecs_web_app.ecr_registry_url
23-
description = "Registry URL"
21+
output "ecr_repository_url" {
22+
value = module.ecs_web_app.ecr_repository_url
23+
description = "Repository URL"
2424
}
2525

2626
output "ecr_repository_name" {
2727
value = module.ecs_web_app.ecr_repository_name
28-
description = "Registry name"
28+
description = "Repository name"
2929
}
3030

3131
output "alb_ingress_target_group_name" {

0 commit comments

Comments
 (0)