Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 71f89f1

Browse files
committed
cleanup TF module
1 parent 764222f commit 71f89f1

3 files changed

Lines changed: 1 addition & 10 deletions

File tree

terraform_module/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,20 @@ No requirements.
66

77
| Name | Version |
88
|------|---------|
9-
| archive | n/a |
109
| aws | n/a |
1110

1211
## Inputs
1312

1413
| Name | Description | Type | Default | Required |
1514
|------|-------------|------|---------|:--------:|
15+
| region | AWS region | `string` | n/a | yes |
1616
| api\_gateway\_name | Name of the API Gateway | `string` | `"all-checks-passed"` | no |
1717
| api\_gateway\_stage | Name of the API Gateway stage | `string` | `"prod"` | no |
1818
| domain\_settings | n/a | <pre>object({<br> enable = bool<br> domain_name = string<br> zone_id = string<br> certificate_arn = string<br> endpoint_type = string<br> security_policy = string<br> })</pre> | <pre>{<br> "certificate_arn": "",<br> "domain_name": "",<br> "enable": false,<br> "endpoint_type": "",<br> "security_policy": "",<br> "zone_id": ""<br>}</pre> | no |
1919
| github\_token\_key | GitHub Personal Access Token (PAT) | `string` | `"/infrastructure/github/pat"` | no |
2020
| github\_webhook\_secret | GitHub webhook secret | `string` | `"/infrastructure/github/all-checks-passed/webhook-secret"` | no |
2121
| iam\_path | IAM path | `string` | `"/"` | no |
2222
| ignore\_checks | CSV GitHub checks to ignore | `string` | `""` | no |
23-
| region | AWS region | `string` | `"eu-west-1"` | no |
2423
| tags | Tags for AWS resources | `map` | `{}` | no |
2524

2625
## Outputs

terraform_module/main.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
provider "aws" {
2-
region = var.region
3-
}
4-
51
data "aws_kms_alias" "ssm" {
62
name = "alias/aws/ssm"
73
}
84

9-
data "aws_region" "current" {}
10-
data "aws_caller_identity" "current" {}
11-
125
data "aws_ssm_parameter" "github_token_key" {
136
name = var.github_token_key
147
with_decryption = false

terraform_module/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ variable "ignore_checks" {
3636

3737
variable "region" {
3838
type = string
39-
default = "eu-west-1"
4039
description = "AWS region"
4140
}
4241

0 commit comments

Comments
 (0)