Skip to content

Commit

Permalink
test atlantis
Browse files Browse the repository at this point in the history
  • Loading branch information
zepeng811 committed Aug 23, 2022
1 parent 4ccbb7a commit 1961119
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions atlantis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 3
automerge: true
parallel_plan: true
parallel_apply: true
projects:
- name: atlantis-dev
dir: .
terraform_version: 1.2.4
5 changes: 5 additions & 0 deletions backend.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
terraform {
backend "local" {
path = "terraform.tf-base-state"
}
}
17 changes: 17 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
}

# Configure the GitHub Provider
provider "github" {}

resource "github_branch" {
repository = "atlantis-dev"
branch = "tf-branch-1"
source_branch = "master"
}

0 comments on commit 1961119

Please sign in to comment.