Slackbot
06/15/2023, 8:20 AMBruno Schaatsbergen
06/15/2023, 8:21 AMaws_s3_bucket
from your <http://xxx.tf|xxx.tf>
file and run an atlantis apply
after it has planned for you, or you made it plan by using atlantis plan
Bruno Schaatsbergen
06/15/2023, 8:22 AM<http://xxxx.tf|xxxx.tf>
file and will destroy it.Bruno Schaatsbergen
06/15/2023, 8:22 AMterraform apply
is no different.Bruno Schaatsbergen
06/15/2023, 8:23 AMatlantis plan -- destroy
Bruno Schaatsbergen
06/15/2023, 8:23 AMapply
and remove resources from the Terraform config files.Priyashree Shetty
06/15/2023, 8:25 AMPlan: 0 to add, 0 to change, 3 to destroy
. I ran atlantis apply
, but there was nothing happeningBruno Schaatsbergen
06/15/2023, 8:26 AMBruno Schaatsbergen
06/15/2023, 8:26 AMBruno Schaatsbergen
06/15/2023, 8:27 AMPriyashree Shetty
06/15/2023, 8:32 AMatlantis apply -d dir
and there is nothing showing on the PR.Bruno Schaatsbergen
06/15/2023, 8:33 AMatlantis apply
?Bruno Schaatsbergen
06/15/2023, 8:34 AMBruno Schaatsbergen
06/15/2023, 8:34 AMBruno Schaatsbergen
06/15/2023, 8:34 AMPriyashree Shetty
06/15/2023, 8:36 AMmyworkflow:
plan:
steps:
- run: terraform init
- run: terraform plan -out plan.out
apply:
steps:
- run: terraform apply "plan.out"
Bruno Schaatsbergen
06/15/2023, 8:37 AMBruno Schaatsbergen
06/15/2023, 8:39 AMBruno Schaatsbergen
06/15/2023, 8:39 AMmyworkflow:
plan:
steps:
- init
- plan
apply:
steps:
- apply
Bruno Schaatsbergen
06/15/2023, 8:39 AMterraform <command>
commands.Priyashree Shetty
06/15/2023, 8:42 AMBruno Schaatsbergen
06/15/2023, 8:43 AMterraform
statements, feel free to do so - but there's native built-in support for these statements. I would recommend to make use of such native built-in features to prevent managing more work on your side.Priyashree Shetty
06/15/2023, 8:44 AM{"level":"debug","ts":"2023-06-15T08:39:00.078Z","caller":"events/events_controller.go:120","msg":"handling Bitbucket Cloud post","json":{}}
{"level":"debug","ts":"2023-06-15T08:39:00.078Z","caller":"events/events_controller.go:218","msg":"handling as comment created event","json":{}}
{"level":"debug","ts":"2023-06-15T08:39:00.078Z","caller":"logging/simple_logger.go:157","msg":"Ignoring non-command comment: \"atlantis apply -d dir...\"","json":{}}
{"level":"debug","ts":"2023-06-15T08:39:00.078Z","caller":"server/middleware.go:72","msg":"POST /events – respond HTTP 200","json":{}}
{"level":"debug","ts":"2023-06-15T08:39:00.613Z","caller":"metrics/debug.go:47","msg":"gauge","json"{"name":"atlantis.scheduled.runtime.cpu.goroutines","value":8,"tags":{},"type":"gauge"}}
Bruno Schaatsbergen
06/15/2023, 8:46 AMatlantis apply -d dir
is just ignored.Priyashree Shetty
06/15/2023, 8:48 AMatlantis apply -d dir
worksRohit Jadhav
08/17/2023, 8:55 AM