Slackbot
03/29/2024, 10:31 PMsebastian wth
03/29/2024, 11:49 PMOleg Gumbar
03/31/2024, 11:02 PMatlantis plan
creates plan file for module A which is actual, but plan file for module B has outdated outputs of module A and atlantis apply
will lead to undesirable behaviour
Possible solutions are:
1. to accept such behaviour and keep in mind that modules need to be orchestrated by user taking it into account. Make changes for modules group A, get request approved, run apply
, make changes for modules group B, get approved, run apply
and so on. But it’s silly, requires to keep all context in a head and sometimes a lot of efforts to setup new infrastructure unit where there can be many layers of infra
2. declare workflow where atlantis apply
will do will do terragrunt plan
and then terragrunt apply
, but such approach is also no-go, because atlantis apply
doesn’t guarantee correctness, because there may arise a situation where another changes will be applied, not those which were planned during atlantis plan
I’m wondering if someone has encountered with that and are there other options (for example possibility to apply execution order group separately and prevention of apply or execution order group if it wasn’t planned with applied dependencies) which may help? ThanksLuiz Silva
04/02/2024, 9:01 PMRobert Jany
04/03/2024, 8:23 AMapply_requirements: [mergeable]
requirement.Olja Smilic
04/03/2024, 12:28 PMsebastian wth
04/04/2024, 2:47 AMRamez Wasfy
04/05/2024, 11:48 AMMark Keisler
04/05/2024, 3:14 PMsebastian wth
04/08/2024, 3:37 PMWanderson Aparecido
04/08/2024, 6:21 PMDaniel Dowd
04/09/2024, 2:10 PMNelson W
04/09/2024, 9:03 PMsecrets = [
{
name = "ATLANTIS_GH_APP_ID"
valueFrom = module.secrets_manager["gh-app-id"].secret_arn
},
{
name = "ATLANTIS_GH_APP_KEY"
valueFrom = module.secrets_manager["gh-app-private-key"].secret_arn
},
{
name = "ATLANTIS_GH_WEBHOOK_SECRET"
valueFrom = module.secrets_manager["gh-webhook-secret"].secret_arn
},
but I'm getting this error in my logs:
--gh-user/--gh-token or --gh-app-id/--gh-app-key-file or --gh-app-id/--gh-app-key or --gitlab-user/--gitlab-token or --bitbucket-user/--bitbucket-token or --azuredevops-user/--azuredevops-token must be set[39m
any ideas what I'm doing wrong here?Nelson W
04/10/2024, 6:16 PMpush
event that has received a valid 200 response. I don't see any corresponding log lines from Atlantis though. If I comment atlantis plan
, atlantis does its thing and comments back correctly. If I re-enable the webhook I manually created, updating the tf file in the same way caues the autoplan to work. Any ideas how to get the github app working?Wanderson Aparecido
04/10/2024, 7:04 PMBen Arundel
04/10/2024, 9:06 PMVinicius Oliveira
04/12/2024, 6:07 PMEvey Eve
04/13/2024, 6:14 PM--disable-global-apply-lock
as a server command, but I got an error that it's an unknown flag. I know it's not listed in the options of the documentation as a flag option, but if its not available now, do we know when?
Second question: Did anyone secure their Atlantis servers so only a particular set of individuals can access the UI within a shared environment?Jason Reslock
04/15/2024, 6:05 PMVinicius Oliveira
04/17/2024, 12:09 AMKrzysztof Magosa
04/18/2024, 10:29 AMos.exit(1)
which makes me wonder, it's some underlying dependency, however, I'm not too much into Golang.umesh shankar mali
04/19/2024, 12:54 PMEvey Eve
04/19/2024, 3:27 PMEvey Eve
04/19/2024, 3:29 PMNelson W
04/19/2024, 6:51 PMLuke Massa
04/22/2024, 6:17 PMMaciej Demkiewicz
04/22/2024, 7:37 PM{"level":"error","ts":"2024-04-22T14:48:52.225Z","caller":"events/instrumented_project_command_runner.go:78","msg":"Error running plan operation: running \"/usr/local/bin/terraform plan -input=false -refresh -out \\\"/home/atlantis/.atlantis/repos/md-terraform/aws-infrastructure/158/default/envs/deploy/apps/deploy_apps-default.tfplan\\\"\" in \"/home/atlantis/.atlantis/repos/md-terraform/aws-infrastructure/158/default/envs/deploy/apps\": signal: killed\nAcquiring state lock. This may take a few moments...\n","json":{"repo":"md-terraform/aws-infrastructure","pull":"158"},"stacktrace":"github.com/runatlantis/atlantis/server/events.RunAndEmitStats\n\tgithub.com/runatlantis/atlantis/server/events/instrumented_project_command_runner.go:78\ngithub.com/runatlantis/atlantis/server/events.(*InstrumentedProjectCommandRunner).Plan\n\tgithub.com/runatlantis/atlantis/server/events/instrumented_project_command_runner.go:38\ngithub.com/runatlantis/atlantis/server/events.runProjectCmds\n\tgithub.com/runatlantis/atlantis/server/events/project_command_pool_executor.go:48\ngithub.com/runatlantis/atlantis/server/events.(*PlanCommandRunner).run\n\tgithub.com/runatlantis/atlantis/server/events/plan_command_runner.go:262\ngithub.com/runatlantis/atlantis/server/events.(*PlanCommandRunner).Run\n\tgithub.com/runatlantis/atlantis/server/events/plan_command_runner.go:306\ngithub.com/runatlantis/atlantis/server/events.(*DefaultCommandRunner).RunCommentCommand\n\tgithub.com/runatlantis/atlantis/server/events/command_runner.go:365"}
---
signal: killed","json":{"repo":"md-terraform/aws-infrastructure","pull":"158","duration":160.985073771},"stacktrace":"github.com/runatlantis/atlantis/server/core/runtime/models.(*ShellCommandRunner).RunCommandAsync.func1\n\tgithub.com/runatlantis/atlantis/server/core/runtime/models/shell_command_runner.go:158"}
locale plan executes correctly. The plan takes more than 2minutes. I was able to determine that this is not a problem of lack of resources, simply atlantis server sends a kill signal to the terraform plan running in the background. I am using the latest atlantis v0.27.2 image.Nelson Jeppesen
04/23/2024, 1:03 AMNelson Jeppesen
04/23/2024, 1:04 AMTyler Allen
04/23/2024, 1:53 PM