Skip to content

Commit a2b35af

Browse files
authored
Remove deprecated params (#7)
1 parent 9bd8d84 commit a2b35af

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,12 @@ Available targets:
193193
| alb_target_group_alarms_insufficient_data_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an INSUFFICIENT_DATA state from any other state. | list | `<list>` | no |
194194
| alb_target_group_alarms_ok_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an OK state from any other state. | list | `<list>` | no |
195195
| alb_zone_id | The ID of the zone in which ALB is provisioned | string | - | yes |
196-
| atlantis_allow_repo_config | Allow Atlantis to use atlantis.yaml | string | `true` | no |
197196
| atlantis_gh_team_whitelist | Atlantis GitHub team whitelist | string | `` | no |
198197
| atlantis_gh_user | Atlantis GitHub user | string | - | yes |
199198
| atlantis_gh_webhook_secret | Atlantis GitHub webhook secret | string | `` | no |
200199
| atlantis_log_level | Atlantis log level | string | `info` | no |
201200
| atlantis_port | Atlantis container port | string | `4141` | no |
202-
| atlantis_repo_config | Path to atlantis config file | string | `atlantis.yaml` | no |
201+
| atlantis_repo_config | Path to atlantis server-side repo config file (https://www.runatlantis.io/docs/server-side-repo-config.html) | string | `atlantis-repo-config.yaml` | no |
203202
| atlantis_repo_whitelist | Whitelist of repositories Atlantis will accept webhooks from | list | `<list>` | no |
204203
| atlantis_wake_word | Wake world for Atlantis | string | `atlantis` | no |
205204
| atlantis_webhook_format | Template for the Atlantis webhook URL which is populated with the hostname | string | `https://%s/events` | no |

docs/terraform.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
| alb_target_group_alarms_insufficient_data_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an INSUFFICIENT_DATA state from any other state. | list | `<list>` | no |
2020
| alb_target_group_alarms_ok_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an OK state from any other state. | list | `<list>` | no |
2121
| alb_zone_id | The ID of the zone in which ALB is provisioned | string | - | yes |
22-
| atlantis_allow_repo_config | Allow Atlantis to use atlantis.yaml | string | `true` | no |
2322
| atlantis_gh_team_whitelist | Atlantis GitHub team whitelist | string | `` | no |
2423
| atlantis_gh_user | Atlantis GitHub user | string | - | yes |
2524
| atlantis_gh_webhook_secret | Atlantis GitHub webhook secret | string | `` | no |
2625
| atlantis_log_level | Atlantis log level | string | `info` | no |
2726
| atlantis_port | Atlantis container port | string | `4141` | no |
28-
| atlantis_repo_config | Path to atlantis config file | string | `atlantis.yaml` | no |
27+
| atlantis_repo_config | Path to atlantis server-side repo config file (https://www.runatlantis.io/docs/server-side-repo-config.html) | string | `atlantis-repo-config.yaml` | no |
2928
| atlantis_repo_whitelist | Whitelist of repositories Atlantis will accept webhooks from | list | `<list>` | no |
3029
| atlantis_wake_word | Wake world for Atlantis | string | `atlantis` | no |
3130
| atlantis_webhook_format | Template for the Atlantis webhook URL which is populated with the hostname | string | `https://%s/events` | no |

main.tf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,6 @@ resource "aws_ssm_parameter" "atlantis_atlantis_url" {
195195
value = "${local.atlantis_url}"
196196
}
197197

198-
resource "aws_ssm_parameter" "atlantis_allow_repo_config" {
199-
count = "${local.enabled ? 1 : 0}"
200-
description = "allow Atlantis to use atlantis.yaml"
201-
name = "${format(var.chamber_format, var.chamber_service, "atlantis_allow_repo_config")}"
202-
overwrite = "${var.overwrite_ssm_parameter}"
203-
type = "String"
204-
value = "${var.atlantis_allow_repo_config}"
205-
}
206-
207198
resource "aws_ssm_parameter" "atlantis_gh_user" {
208199
count = "${local.enabled ? 1 : 0}"
209200
description = "Atlantis GitHub user"

variables.tf

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ variable "repo_owner" {
7979

8080
variable "atlantis_repo_config" {
8181
type = "string"
82-
description = "Path to atlantis config file"
83-
default = "atlantis.yaml"
82+
description = "Path to atlantis server-side repo config file (https://www.runatlantis.io/docs/server-side-repo-config.html)"
83+
default = "atlantis-repo-config.yaml"
8484
}
8585

8686
variable "atlantis_repo_whitelist" {
@@ -122,12 +122,6 @@ variable "hostname" {
122122
default = ""
123123
}
124124

125-
variable "atlantis_allow_repo_config" {
126-
type = "string"
127-
description = "Allow Atlantis to use atlantis.yaml"
128-
default = "true"
129-
}
130-
131125
variable "atlantis_gh_user" {
132126
type = "string"
133127
description = "Atlantis GitHub user"

0 commit comments

Comments
 (0)