Skip to content

Commit 3e09335

Browse files
authored
feat: Renamed option to repo_allowlist (#198)
1 parent e7bd953 commit 3e09335

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module "atlantis" {
7474
# Atlantis
7575
atlantis_github_user = "atlantis-bot"
7676
atlantis_github_user_token = "examplegithubtoken"
77-
atlantis_repo_whitelist = ["github.com/terraform-aws-modules/*"]
77+
atlantis_repo_allowlist = ["github.com/terraform-aws-modules/*"]
7878
}
7979
```
8080

@@ -264,7 +264,7 @@ allow_github_webhooks = true
264264
| <a name="input_atlantis_image"></a> [atlantis\_image](#input\_atlantis\_image) | Docker image to run Atlantis with. If not specified, official Atlantis image will be used | `string` | `""` | no |
265265
| <a name="input_atlantis_log_level"></a> [atlantis\_log\_level](#input\_atlantis\_log\_level) | Log level that Atlantis will run with. Accepted values are: <debug\|info\|warn\|error> | `string` | `"debug"` | no |
266266
| <a name="input_atlantis_port"></a> [atlantis\_port](#input\_atlantis\_port) | Local port Atlantis should be running on. Default value is most likely fine. | `number` | `4141` | no |
267-
| <a name="input_atlantis_repo_whitelist"></a> [atlantis\_repo\_whitelist](#input\_atlantis\_repo\_whitelist) | List of allowed repositories Atlantis can be used with | `list(string)` | n/a | yes |
267+
| <a name="input_atlantis_repo_allowlist"></a> [atlantis\_repo\_allowlist](#input\_atlantis\_repo\_allowlist) | List of allowed repositories Atlantis can be used with | `list(string)` | n/a | yes |
268268
| <a name="input_atlantis_security_group_tags"></a> [atlantis\_security\_group\_tags](#input\_atlantis\_security\_group\_tags) | Additional tags to put on the atlantis security group | `map(string)` | `{}` | no |
269269
| <a name="input_atlantis_version"></a> [atlantis\_version](#input\_atlantis\_version) | Verion of Atlantis to run. If not specified latest will be used | `string` | `"latest"` | no |
270270
| <a name="input_azs"></a> [azs](#input\_azs) | A list of availability zones in the region | `list(string)` | `[]` | no |

examples/github-complete/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module "atlantis" {
7272
# Atlantis
7373
atlantis_github_user = var.github_user
7474
atlantis_github_user_token = var.github_token
75-
atlantis_repo_whitelist = ["github.com/${var.github_organization}/*"]
75+
atlantis_repo_allowlist = ["github.com/${var.github_organization}/*"]
7676
atlantis_allowed_repo_names = var.allowed_repo_names
7777

7878
# ALB access

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ locals {
6868
value = var.atlantis_bitbucket_base_url
6969
},
7070
{
71-
name = "ATLANTIS_REPO_WHITELIST"
72-
value = join(",", var.atlantis_repo_whitelist)
71+
name = "ATLANTIS_REPO_ALLOWLIST"
72+
value = join(",", var.atlantis_repo_allowlist)
7373
},
7474
{
7575
name = "ATLANTIS_HIDE_PREV_PLAN_COMMENTS"

terraform.tfvars.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ecs_service_assign_public_ip = true
2424

2525
# Atlantis
2626
atlantis_allowed_repo_names = ["awesome-repo", "another-awesome-repo"]
27-
atlantis_repo_whitelist = ["github.com/terraform-aws-modules/*"]
27+
atlantis_repo_allowlist = ["github.com/terraform-aws-modules/*"]
2828

2929
# Specify one of the following block.
3030
# For Github

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ variable "atlantis_port" {
476476
default = 4141
477477
}
478478

479-
variable "atlantis_repo_whitelist" {
479+
variable "atlantis_repo_allowlist" {
480480
description = "List of allowed repositories Atlantis can be used with"
481481
type = list(string)
482482
}

0 commit comments

Comments
 (0)