Skip to content

Commit 047e2b0

Browse files
committed
Fix docs and formatting
1 parent f633b81 commit 047e2b0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/github-complete/main.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ module "atlantis" {
7272
trusted_principals = ["ssm.amazonaws.com"]
7373

7474
# Atlantis
75-
atlantis_github_user = var.github_user
76-
atlantis_github_user_token = var.github_token
77-
atlantis_repo_allowlist = ["github.com/${var.github_owner}/*"]
75+
atlantis_github_user = var.github_user
76+
atlantis_github_user_token = var.github_token
77+
atlantis_repo_allowlist = ["github.com/${var.github_owner}/*"]
7878

7979
# ALB access
8080
alb_ingress_cidr_blocks = var.alb_ingress_cidr_blocks

examples/gitlab-repository-webhook/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ module "gitlab_repository_webhook" {
1616

1717
# Fetching these attributes from created already Atlantis Terraform state file
1818
atlantis_repo_allowlist = data.terraform_remote_state.atlantis.outputs.atlantis_repo_allowlist
19-
webhook_url = data.terraform_remote_state.atlantis.outputs.atlantis_url_events
20-
webhook_secret = data.terraform_remote_state.atlantis.outputs.webhook_secret
19+
webhook_url = data.terraform_remote_state.atlantis.outputs.atlantis_url_events
20+
webhook_secret = data.terraform_remote_state.atlantis.outputs.webhook_secret
2121
}

modules/gitlab-repository-webhook/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ No modules.
2828

2929
| Name | Description | Type | Default | Required |
3030
|------|-------------|------|---------|:--------:|
31-
| <a name="input_atlantis_repo_allowlist"></a> [atlantis\_repo\_allowlist](#input\_atlantis\_repo\_allowlist) | List of names of repositories which belong to the owner specified in `github_owner` | `list(string)` | n/a | yes |
31+
| <a name="input_atlantis_repo_allowlist"></a> [atlantis\_repo\_allowlist](#input\_atlantis\_repo\_allowlist) | List of names of repositories which belong to the `gitlab_base_url` specified | `list(string)` | n/a | yes |
3232
| <a name="input_create_gitlab_repository_webhook"></a> [create\_gitlab\_repository\_webhook](#input\_create\_gitlab\_repository\_webhook) | Whether to create Gitlab repository webhook for Atlantis | `bool` | `true` | no |
3333
| <a name="input_gitlab_base_url"></a> [gitlab\_base\_url](#input\_gitlab\_base\_url) | Gitlab base\_url use | `string` | `""` | no |
3434
| <a name="input_gitlab_token"></a> [gitlab\_token](#input\_gitlab\_token) | Gitlab token to use when creating webhook | `string` | `""` | no |

0 commit comments

Comments
 (0)