Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 6 additions & 28 deletions atlantis.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
version: 3
automerge: false
delete_source_branch_on_merge: false
parallel_plan: true
parallel_apply: true

projects:
- name: terraform-gcp-vm-instance
dir: .
workspace: default
terraform_version: v1.0.0
delete_source_branch_on_merge: false
autoplan:
when_modified: ["*.tf", "*.tfvars"]
enabled: true
apply_requirements: ["approved", "mergeable"]
workflow: custom

workflows:
custom:
plan:
steps:
- init:
extra_args: ["-input=false"]
- plan:
extra_args: ["-input=false", "-lock=false"]
apply:
steps:
- apply:
extra_args: ["-input=false", "-auto-approve"]
- name: gcp-vm-instance
dir: .
workspace: default
autoplan:
when_modified: ["*.tf", "*.tfvars"]
enabled: true
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "zone" {
variable "machine_type" {
description = "The machine type for VM instances"
type = string
default = "e2-small"
default = "e2-medium"
}

variable "ssh_username" {
Expand Down
Loading