#atlantis (2019-09)
Discuss the Atlantis (<http://runatlantis.io | runatlantis.io>) |
**Archive: ** https://archive.sweetops.com/atlantis/
2019-09-10
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
Today, we’re excited to announce the full release of Terraform Cloud. This release brings the automation and collaboration features of Terraform Enterprise to the greater Terraform…
2019-09-19
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
Have you used this much @Igor?
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
I’m curious to know how it plays out
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
No, not at all, I am also curious about it
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
Sticking to Atlantis for the time being
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
OK! I’ll set one up next week and give it a crack
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
yeah - same here.
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
Mostly because we don’t use workspaces
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
Yeah - I feel the same, I too am not using workspaces, I’m using the terragrunt/atlantis method
![Callum Robertson avatar](https://avatars.slack-edge.com/2019-06-20/659129332226_04b6b33e0a3f105d3bc7_72.jpg)
I’m doing a talk on Atlantis here in NZ and Hashicorp where pushing their enterprise tools our way to present
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
IIRC The guys that managed Atlantis were hired by Hashicorp, so I am sure there is a lot of influence that they’ll have on their Terraform Cloud product
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
But Atlantis the project is also pushing workspaces :-)
2019-09-20
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
Atlantis config has built-in support for custom commands though
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
Whereas workspaces appear mandatory in the Terraform Cloud world (on first sight)
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
They also demo having environment-specific git branches, which doesn’t make any sense to me
![Igor avatar](https://avatars.slack-edge.com/2022-03-17/3244104166391_48a8db73944f03735a65_72.jpg)
(unless it’s a short-lived environment)
![Jakub Korzeniowski avatar](https://secure.gravatar.com/avatar/c35bda0a8d7ce4cd8a5c970f6042b4d2.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0025-72.png)
Hi Guys. I’m getting atlantis to execute helmfile workflow. I created a docker image based on the official atlantis’ image with all of the necessary goodies that are needed and bizarre things happen:
If I docker run -it my_atlantis /bin/bash
and run helm help
it lists all the commands including the plugins.
However, if I run the same command as part of a custom atlantis’ workflow, none of the plugins are there.
Any ideas?
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
@Jakub Korzeniowski are you running the same image for the atlantis workflow?
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
doesn’t the atlantis image have a “atlantis” user? If so, you would need to install the plugins for the atlantis user
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
you can create a directory for helm and set the HELM_HOME env variable to that
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
then install the helm plugins
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
don’t forget to set the permissions on the dir
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
this is an example of our image with atlantis installed (geodesic
is the base image, which has terraform
, helm
, helfile
and other stuff installed)
https://github.com/cloudposse/testing.cloudposse.co/blob/master/Dockerfile
this is how the atlantis server gets configured in the base geodesic
image
https://github.com/cloudposse/geodesic/blob/master/rootfs/etc/init.d/atlantis.sh
atlantis worflows https://github.com/cloudposse/testing.cloudposse.co/blob/master/atlantis.yaml
Example Terraform Reference Architecture that implements a Geodesic Module for an Automated Testing Organization in AWS - cloudposse/testing.cloudposse.co
Geodesic is a cloud automation shell. It's the fastest way to get up and running with a rock solid, production grade cloud platform built on top of strictly Open Source tools. ★ this repo! h…
Example Terraform Reference Architecture that implements a Geodesic Module for an Automated Testing Organization in AWS - cloudposse/testing.cloudposse.co
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
curious how well it works to use atlantis with helm/helmfile
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
works well for us
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
this is an example of atlantis workflow for helmfiles
:
helmfile:
plan:
steps:
- run: "chamber exec kops -- kops export kubecfg"
- run: 'chamber exec kops -- direnv exec "$DIR" helmfile diff --suppress-secrets --args="--allow-unreleased --context 5 --no-color"
apply:
steps:
- run: "chamber exec kops -- kops export kubecfg"
- run: 'test -x "$DIR"/namespace-annotations.sh && chamber exec kops -- direnv exec "$DIR" "$DIR"/namespace-annotations.sh || echo "No script found to annotate namespaces"'
- run: 'chamber exec kops -- direnv exec "$DIR" helmfile apply --suppress-secrets'
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
and this is atlantis project config to deploy helmfiles
- name: "helmfiles"
workflow: "helmfile"
dir: "conf/helmfiles"
workspace: "default"
autoplan:
when_modified:
- "*.yaml"
- "*.yaml.gotmpl"
- "*.envrc"
- ".envrc"
enabled: true
apply_requirements:
- "approved"
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
that’s awesome
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
I’ve been looking at ArgoCD for doing the k8s CD, any thoughts on that project?
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
i have yet to try it out , just reading up on it
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
did not use it, but looks very cool
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
did you look at GitHub Actions? https://deliverybot.dev/2019/09/15/deploying-to-kubernetes-with-helm-and-github-actions/
This tutorial will go through the basics of GitHub actions as well as deploying to Kubernetes using a pre-built Helm action
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
we use Azure DevOps which is what GithHub Actions is built on, but I’m trying to move away from having our CI systems from talking to our K8s clusters directly
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
which is why I like Atlantis and ArgoCD
![zeid.derhally avatar](https://avatars.slack-edge.com/2019-11-07/812667730610_1068425b9d918de21373_72.png)
I can run those within our network