#atlantis - March 2022

atlantisArchived
3 messages

Discuss the Atlantis (runatlantis.io)
Archive: https://archive.sweetops.com/atlantis/

Igor
Igorover 4 years ago
@Erik Osterman (Cloud Posse) I seem to recall you guys used to run your version of Atlantis as a CI job instead of running it standalone. Are you still doing that, or did that pattern die out?
Jonás Márquez
Jonás Márquezover 4 years ago
Hello everyone! Is someone using Vault from Atlantis? I have Atlantis in a Docker container on an EC2 Instance in AWS, in the EC2 instance I have configured the Vault agent and mounted the vault-token in the Atlantis container, I am trying access Vault from Terraform with the Vault provider as follows:

provider "vault" {
  skip_tls_verify = true
  address = "https://<IP-ADDRESS>:8200/"
  token = "~/.vault-token"
}

but when I do the Pull Request it gives me the following error:
running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/TEST_PROYECT/test-atlantis-repo/44/default/default.tfplan\"" in "/home/atlantis/.atlantis/repos/TEST_PROJECT/test-atlantis-repo/44/default": exit status 1
╷
│ Error: Error making API request.
│ 
│ URL: GET https://<IP-ADDRESS>:8200/v1/auth/token/lookup-self
│ Code: 400. Errors:
│ 
│ * error performing token check: failed to look up namespace from the token: no namespace
│ 
│   with provider["<http://registry.terraform.io/hashicorp/vault|registry.terraform.io/hashicorp/vault>"],
│   on main.tf line 8, in provider "vault":
│    8: provider "vault" {

Namespaces are only used for Vault Enterprise and this is not the case, has anyone been able to implement it? thanks! 👍️
PePe Amengual
PePe Amengualover 4 years ago
Hello guys!!! I’m one of the Atlantis maintainers and I just wanted to let you know that we just released a fix for the VCS status issue some of you have reported on our dev image docker pull <http://ghcr.io/runatlantis/atlantis:dev|ghcr.io/runatlantis/atlantis:dev> Please test it and and report back, Thanks.