Replies: 2 comments 2 replies
-
remove the . / from. dir and see if it works
…On Tue, Oct 18, 2022, 6:26 a.m. George Artemiev ***@***.***> wrote:
I have a project in my repo which contains sub folders in addition.
However After specifying that project on repocinfig level - Atlantis
doesn't see any subprojects there:
running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/openvpntechnologies/dev-infra/121/default/eu-central-1/infrastructure/infrastructure-default.tfplan\"" in "/home/atlantis/.atlantis/repos/openvpntechnologies/dev-infra/121/default/eu-central-1/infrastructure": exit status 1
╷
│ Error: No configuration files
│
│ Plan requires configuration to be present. Planning without a configuration
│ would mark everything for destruction, which is normally not what is
│ desired. If you would like to destroy everything, run plan with the
│ -destroy option. Otherwise, create a Terraform configuration file (.tf
│ file) and try again.
Server side config:
repos:
- id: bitbucket.org/openvpntechnologies/dev-infra
allow_custom_workflows: true
allowed_overrides: [apply_requirements, workflow]
Repo config:
---
version: 3
projects:
- name: infrastructure
dir: ./eu-central-1/infrastructure
autoplan:
when_modified:
- "**/*.tf"
enabled: true
workflow: default
—
Reply to this email directly, view it on GitHub
<#2596>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERDRNDTWUHIDOTWLDPTWD2QQVANCNFSM6AAAAAARICYWLU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@gartemiev did you manage to solve this? I'm running into the same issue with nested folders. Trying to implement cdktf using Go. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project in my repo which contains sub folders in addition. However After specifying that project on repocinfig level - Atlantis doesn't see any subprojects there:
Server side config:
Repo config:
Beta Was this translation helpful? Give feedback.
All reactions