Closed shettypriy closed 10 hours ago
Please update Atlantis to the latest since 0.23.1 has a bug.
can you show us your atlantis.yaml
and repos.yaml
?
I do not have an atlantis.yml file since I am using the default settings and following is my /etc/atlantis/repos.yml file
repoConfig: |
---
repos:
- id: bitbucket.org/xxxxxxx/atlantis-repo
apply_requirements: []
workflow: default
allowed_overrides: []
allow_custom_workflows: false
workflows:
default:
plan:
steps:
- run: "terraform init"
- run: "terraform plan"
apply:
steps:
- run: "terraform apply"
do you see the plan comment after autoplan run?
if you run atlantis apply
anything happen?
Yes, I do see the plan comment after autoplan run. But when I type atlantis apply nothing happens. Following is what I get in the bitbucket /events request
Event | Details | Actions | |
---|---|---|---|
pullrequest:comment_created | 34 seconds ago | 403 | View details |
pullrequest:comment_created | 1 minute ago | 403 | View details |
pullrequest:updated | 1 minute ago | 200 | View details |
what permissions you have in your webhook? can you try giving more perms to tests and see?
I initially gave the permissions mentioned here https://www.runatlantis.io/docs/configuring-webhooks.html#bitbucket-cloud-bitbucket-org . Since it did not work, I checked all the boxes for the webhook. That too did not work.
Community Note
Overview of the Issue
I have deployed atlantis version 0.23.1 on AWS EKS cluster using helm with a custom domain, bitbucket as VCS and added ingress rule as below
I raise a PR for creating a null resource and there is a autopaln happening as shown in the below logs
However, when I run a apply using the command atlantis apply -d . for the above auto-plan , there is no apply happening. Also, if I run the plan again atlantis plan -d ., no plan is happening.
If I check the logs when I run plan or apply there is nothing in the logs and it shows the following
Environment details
Additional Context