Commit Graph

6 Commits

Author SHA1 Message Date
Luke Kysow
057711bafa Fix broken link 2020-10-30 14:15:55 -07:00
Luke Kysow
24c60b2fd3 Fix broken link 2020-09-11 16:47:58 -07:00
Luke Kysow
675aaddbf3 Update doc links 2020-07-25 23:45:03 -07:00
Luke Kysow
d78b106cab Refactor @jjulien's server-side config work. 2019-03-27 14:47:48 -05:00
Luke Kysow
e0dcb5ab13 Don't add extra -var flags when using TF >= 0.12
In Terraform 0.12 and above, you aren't allowed to set -var foo=bar
flags unless the foo variable is actually defined in code. Previously,
we were setting the following variables:
- atlantis_user
- atlantis_repo
- atlantis_repo_owner
- atlantis_repo_name
- atlantis_pull_num

Users could then use these variables if they wanted to, in their code.
The main use case was to name the assume role session in AWS:

provider "aws" {
  assume_role {
    role_arn     = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
    session_name = "${var.atlantis_user}-${var.atlantis_repo_owner}-${var.atlantis_repo_name}-${var.atlantis_pull_num}"
  }
}

This is longer possible in 0.12.
2019-01-10 15:16:21 -05:00
Luke Kysow
255a5b7fc1 Add docs about using tfe remote state. 2019-01-08 16:00:49 -05:00