Closed strugee closed 7 months ago
success
success
success
Pushed by: @strugee, Action: pull_request
success
success
success
Pushed by: @strugee, Action: pull_request
Ran Plan for dir: simple_vm
workspace: default
Plan Error
success
success
success
Pushed by: @strugee, Action: pull_request
Ran Plan for dir: simple_vm
workspace: default
Plan Error
success
success
success
Pushed by: @strugee, Action: pull_request
Deferring merge and apply
until we've got Atlantis working properly, so I can use that to apply
.
Ran Plan for dir: simple_vm
workspace: default
Plan Error
atlantis plan -dir .
Error: unknown argument(s) – ..
Usage of plan:
-d, --dir string Which directory to run plan in relative to root of repo,
ex. 'child/dir'.
-p, --project string Which project to run plan for. Refers to the name of the
project configured in a repo config file. Cannot be used
at same time as workspace or dir flags.
--verbose Append Atlantis log to comment.
-w, --workspace string Switch to this Terraform workspace before planning.
atlantis plan --dir .
Ran Plan for dir: .
workspace: default
Plan Failed: This project is currently locked by an unapplied plan from pull #53. To continue, delete the lock from #53 or apply that plan and merge the pull request.
Once the lock is released, comment atlantis plan
here to re-plan.
atlantis plan --dir .
Ran Plan for dir: .
workspace: default
Plan: 0 to add, 0 to change, 1 to destroy.
atlantis apply
atlantis unlock
atlantis plan --dir .
Ran Plan for dir: simple_vm
workspace: default
Plan Error
Ran Plan for dir: .
workspace: default
No changes. Your infrastructure matches the configuration.
atlantis apply
atlantis unlock
atlantis apply
Ran Apply for dir: .
workspace: default
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
atlantis help
atlantis
Terraform Pull Request Automation
Usage:
atlantis <command> [options] -- [terraform options]
Examples:
# show atlantis help
atlantis help
# run plan in the root directory passing the -target flag to terraform
atlantis plan -d . -- -target=resource
# apply all unapplied plans from this pull request
atlantis apply
# apply the plan for the root directory and staging workspace
atlantis apply -d . -w staging
Commands:
plan Runs 'terraform plan' for the changes in this pull request.
To plan a specific project, use the -d, -w and -p flags.
apply Runs 'terraform apply' on all unapplied plans from this pull request.
To only apply a specific plan, use the -d, -w and -p flags.
unlock Removes all atlantis locks and discards all plans for this PR.
To unlock a specific plan you can use the Atlantis UI.
approve_policies
Approves all current policy checking failures for the PR.
version Print the output of 'terraform version'
help View help.
Flags:
-h, --help help for atlantis
Use "atlantis [command] --help" for more information about a command.
atlantis unlock
Failed to delete PR locks
This lets Ansible runs work out of the box, without manual bootstrapping.