Initial commit

This commit is contained in:
minhtrannhat
2022-11-18 16:08:50 -05:00
commit 3a870ed2c5
40 changed files with 43406 additions and 0 deletions

6
infrastructure/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
.ansible-vault
secrets.auto.tfvars
terraform.tfstate
*.backup
.terraform.lock.hcl
.terraform/

View File

@@ -0,0 +1,2 @@
[defaults]
vault_password_file = .ansible-vault

12
infrastructure/github.tf Normal file
View File

@@ -0,0 +1,12 @@
variable "github_token" {
sensitive = true
}
provider "github" {
token = var.github_token
}
resource "github_repository" "neo_todo_app" {
name = "neo_todo_app"
visibility = "private"
}

9
infrastructure/main.tf Normal file
View File

@@ -0,0 +1,9 @@
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
required_version = ">=1.0"
}

View File

@@ -0,0 +1,8 @@
$ANSIBLE_VAULT;1.1;AES256
62646161353966313636646337346665363936623861643933373535663530633766636366366136
3938306631303339613233666264313664643165313862320a313733656532336162643337393433
38323030306531343138303563613537636130393030393239646433633464613538326634363338
6666336137343363360a363434306533376130633033646665666436343462353136393630653432
65613936633039626466643438386466326334366435316362363662646233333265366232653830
36653039346637383366333561376536313331613065303531616465343830633662353566316534
303330353764383366633730366537663461