Skip to content

Commit

Permalink
chore: Update getindata/atlantis-repo-config/null (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: mariusz.wojakowski <mariusz.wojakowski@getindata.com>
  • Loading branch information
mariusz89016 and mariusz.wojakowski authored May 12, 2023
1 parent 66e2321 commit 613d7bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module "atlantis" {
| <a name="input_atlantis_repo_config_file"></a> [atlantis\_repo\_config\_file](#input\_atlantis\_repo\_config\_file) | Configures config file generation if enabled | <pre>object({<br> enabled = optional(bool, false)<br> path = optional(string, ".")<br> name = optional(string, "repo_config.yaml")<br> format = optional(string, "yaml")<br> })</pre> | `{}` | no |
| <a name="input_atlantis_repo_config_repos"></a> [atlantis\_repo\_config\_repos](#input\_atlantis\_repo\_config\_repos) | Map of repositories and their configs. Refer to https://www.runatlantis.io/docs/server-side-repo-config.html#example-server-side-repo | <pre>list(object({<br> id = optional(string, "/.*/")<br> branch = optional(string)<br> apply_requirements = optional(list(string))<br> allowed_overrides = optional(list(string))<br> allowed_workflows = optional(list(string))<br> allow_custom_workflows = optional(bool)<br> delete_source_branch_on_merge = optional(bool)<br> pre_workflow_hooks = optional(list(object({<br> run = string<br> })))<br> post_workflow_hooks = optional(list(object({<br> run = string<br> })))<br> workflow = optional(string)<br> ######### Helpers #########<br> allow_all_server_side_workflows = optional(bool, false)<br> terragrunt_atlantis_config = optional(object({<br> enabled = optional(bool)<br> output = optional(string)<br> automerge = optional(bool)<br> autoplan = optional(bool)<br> parallel = optional(bool)<br> cascade_dependencies = optional(bool)<br> filter = optional(string)<br> use_project_markers = optional(bool)<br> }))<br> }))</pre> | `[]` | no |
| <a name="input_atlantis_repo_config_repos_common_config"></a> [atlantis\_repo\_config\_repos\_common\_config](#input\_atlantis\_repo\_config\_repos\_common\_config) | Common config that will be merged into each item of the repos list | <pre>object({<br> id = optional(string)<br> branch = optional(string)<br> apply_requirements = optional(list(string))<br> allowed_overrides = optional(list(string))<br> allowed_workflows = optional(list(string))<br> allow_custom_workflows = optional(bool)<br> delete_source_branch_on_merge = optional(bool)<br> pre_workflow_hooks = optional(list(object({<br> run = string<br> })))<br> post_workflow_hooks = optional(list(object({<br> run = string<br> })))<br> workflow = optional(string)<br> ######### Helpers #########<br> allow_all_server_side_workflows = optional(bool, false)<br> terragrunt_atlantis_config = optional(object({<br> enabled = optional(bool)<br> output = optional(string)<br> automerge = optional(bool)<br> autoplan = optional(bool)<br> parallel = optional(bool)<br> cascade_dependencies = optional(bool)<br> filter = optional(string)<br> use_project_markers = optional(bool)<br> }))<br> })</pre> | `{}` | no |
| <a name="input_atlantis_repo_config_workflows"></a> [atlantis\_repo\_config\_workflows](#input\_atlantis\_repo\_config\_workflows) | List of custom workflow that will be added to the repo config file | <pre>map(object({<br> plan = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> apply = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> import = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> state_rm = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> template = optional(string, "terragrunt-basic")<br> asdf = optional(object({<br> enabled = optional(bool, false)<br> }), {})<br> checkov = optional(object({<br> enabled = optional(bool, false)<br> soft_fail = optional(bool, false)<br> file = optional(string, "$SHOWFILE")<br> }), {})<br> pull_gitlab_variables = optional(object({<br> enabled = optional(bool, false)<br> }), {})<br> check_gitlab_approvals = optional(object({<br> enabled = optional(bool, false)<br> }), {}),<br> infracost = optional(object({<br> enabled = optional(bool, false)<br> }), {}),<br> }))</pre> | `{}` | no |
| <a name="input_atlantis_repo_config_workflows"></a> [atlantis\_repo\_config\_workflows](#input\_atlantis\_repo\_config\_workflows) | List of custom workflow that will be added to the repo config file | <pre>map(object({<br> plan = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> apply = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> import = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> state_rm = optional(object({<br> steps = optional(list(object({<br> env = optional(object({<br> name = string<br> command = string<br> }))<br> run = optional(string)<br> multienv = optional(string)<br> atlantis_step = optional(object({<br> command = string<br> extra_args = optional(list(string))<br> }))<br> })))<br> }))<br> template = optional(string, "terragrunt-basic")<br> asdf = optional(object({<br> enabled = optional(bool, false)<br> }), {})<br> checkov = optional(object({<br> enabled = optional(bool, false)<br> soft_fail = optional(bool, false)<br> file = optional(string, "$SHOWFILE")<br> }), {})<br> pull_gitlab_variables = optional(object({<br> enabled = optional(bool, false)<br> }), {})<br> check_gitlab_approvals = optional(object({<br> enabled = optional(bool, false)<br> }), {}),<br> infracost = optional(object({<br> enabled = optional(bool, false)<br> platform = optional(string, "gitlab")<br> token_environment_variable = optional(string)<br> behavior = optional(string, "new")<br> }), {}),<br> }))</pre> | `{}` | no |
| <a name="input_atlantis_server_config"></a> [atlantis\_server\_config](#input\_atlantis\_server\_config) | Atlantis server config. If any option is not available here, it can be passed by `environment_variables` variable | <pre>object({<br> allow_draft_prs = optional(string)<br> allow_fork_prs = optional(string)<br> allow_repo_config = optional(string)<br> atlantis_url = optional(string)<br> automerge = optional(string)<br> autoplan_file_list = optional(string)<br> autoplan_modules = optional(string)<br> autoplan_modules_from_projects = optional(string)<br> azuredevops_hostname = optional(string)<br> azuredevops_webhook_password = optional(string)<br> azuredevops_webhook_user = optional(string)<br> azuredevops_token = optional(string)<br> azuredevops_user = optional(string)<br> bitbucket_base_url = optional(string)<br> bitbucket_token = optional(string)<br> bitbucket_user = optional(string)<br> bitbucket_webhook_secret = optional(string)<br> checkout_strategy = optional(string)<br> config = optional(string)<br> data_dir = optional(string)<br> default_tf_version = optional(string)<br> disable_apply = optional(string)<br> disable_apply_all = optional(string)<br> disable_autoplan = optional(string)<br> disable_markdown_folding = optional(string)<br> disable_repo_locking = optional(string)<br> enable_policy_checks = optional(string)<br> enable_regexp_cmd = optional(string)<br> enable_diff_markdown_format = optional(string)<br> gh_hostname = optional(string)<br> gh_token = optional(string)<br> gh_user = optional(string)<br> gh_webhook_secret = optional(string)<br> gh_org = optional(string)<br> gh_app_id = optional(string)<br> gh_app_slug = optional(string)<br> gh_app_key_file = optional(string)<br> gh_app_key = optional(string)<br> gh_team_allowlist = optional(string)<br> gh_allow_mergeable_bypass_apply = optional(string)<br> gitlab_hostname = optional(string)<br> gitlab_token = optional(string)<br> gitlab_user = optional(string)<br> gitlab_webhook_secret = optional(string)<br> help = optional(string)<br> hide_prev_plan_comments = optional(string)<br> locking_db_type = optional(string)<br> log_level = optional(string)<br> markdown_template_overrides_dir = optional(string)<br> parallel_pool_size = optional(string)<br> port = optional(string)<br> quiet_policy_checks = optional(string)<br> redis_host = optional(string)<br> redis_password = optional(string)<br> redis_port = optional(string)<br> redis_db = optional(string)<br> redis_tls_enabled = optional(string)<br> redis_insecure_skip_verify = optional(string)<br> repo_config = optional(string)<br> repo_config_json = optional(string)<br> repo_whitelist = optional(string)<br> repo_allowlist = optional(string)<br> require_approval = optional(string)<br> require_mergeable = optional(string)<br> silence_fork_pr_errors = optional(string)<br> silence_whitelist_errors = optional(string)<br> silence_allowlist_errors = optional(string)<br> silence_no_projects = optional(string)<br> silence_vcs_status_no_plans = optional(string)<br> skip_clone_no_changes = optional(string)<br> slack_token = optional(string)<br> ssl_cert_file = optional(string)<br> ssl_key_file = optional(string)<br> stats_namespace = optional(string)<br> tf_download_url = optional(string)<br> tfe_hostname = optional(string)<br> tfe_local_execution_mode = optional(string)<br> tfe_token = optional(string)<br> var_file_allowlist = optional(string)<br> vcs_status_name = optional(string)<br> write_git_creds = optional(string)<br> web_basic_auth = optional(bool)<br> web_username = optional(string)<br> web_password = optional(string)<br> websocket_check_origin = optional(string)<br> })</pre> | `{}` | no |
| <a name="input_attributes"></a> [attributes](#input\_attributes) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. | `list(string)` | `[]` | no |
| <a name="input_container_diagnostics_log_analytics"></a> [container\_diagnostics\_log\_analytics](#input\_container\_diagnostics\_log\_analytics) | Log Analytics workspace to be used with container logs | <pre>object({<br> workspace_id = string<br> workspace_key = string<br> log_type = optional(string, "ContainerInsights")<br> })</pre> | `null` | no |
Expand Down Expand Up @@ -98,7 +98,7 @@ module "atlantis" {

| Name | Source | Version |
|------|--------|---------|
| <a name="module_atlantis_repo_config"></a> [atlantis\_repo\_config](#module\_atlantis\_repo\_config) | getindata/atlantis-repo-config/null | 2.1.2 |
| <a name="module_atlantis_repo_config"></a> [atlantis\_repo\_config](#module\_atlantis\_repo\_config) | getindata/atlantis-repo-config/null | 2.2.0 |
| <a name="module_azure_container_group"></a> [azure\_container\_group](#module\_azure\_container\_group) | getindata/container-group/azurerm | 3.1.1 |
| <a name="module_this"></a> [this](#module\_this) | cloudposse/label/null | 0.25.0 |

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "atlantis_repo_config" {
source = "getindata/atlantis-repo-config/null"
version = "2.1.2"
version = "2.2.0"

repos = var.atlantis_repo_config_repos
repos_common_config = var.atlantis_repo_config_repos_common_config
Expand Down
5 changes: 4 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,10 @@ variable "atlantis_repo_config_workflows" {
enabled = optional(bool, false)
}), {}),
infracost = optional(object({
enabled = optional(bool, false)
enabled = optional(bool, false)
platform = optional(string, "gitlab")
token_environment_variable = optional(string)
behavior = optional(string, "new")
}), {}),
}))
default = {}
Expand Down

0 comments on commit 613d7bf

Please sign in to comment.