https://www.runatlantis.io/ logo
Title
s

Sarath S Kumar

03/16/2023, 8:00 AM
Hi i am facing one issue when i creating multiple resources like vpc,subnets,nat etc in a single PR then i ran atlantis plan and some of the resource creation plan got success and some of the plan got fail. I creating atlantis.yaml using terraform-atlantis-config tool it will create multiple workspace and multiple projects in the PR number folder. These resources are dependent also so in terragrunt.hcl i mentioned that dependency. Actually saying the .tflplan file is not getting created in the workspace
Can we make any control to atlantis workflow let's say first i want to run vpc plan then it works only create subnets plan
when i ran atlantis plan in github comment again then only the tfplan got created in the workspace
j

Jason Reslock

03/16/2023, 11:56 AM
You can do this with a custom workflow either in the server-side config or in the atlantis.yaml in the repository itself.
r

RB

03/16/2023, 5:41 PM
You want to set execution group
s

Sarath S Kumar

03/20/2023, 1:43 PM
How can i set this @RB
s

Sarath S Kumar

03/20/2023, 2:06 PM
This is very hard to manage if i have a large number of folders. I am using terragrunt-atlantis-config generator so it automatically creates server side config so it is creating each folder as each project.
r

RB

03/20/2023, 2:07 PM
Yes that does seem difficult. Please feel free to propose a solution and/or create a ticket