Skip to content
Merged
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
61 changes: 0 additions & 61 deletions .github/workflows/terraform-apply.yml

This file was deleted.

129 changes: 0 additions & 129 deletions .github/workflows/terraform-plan.yml

This file was deleted.

11 changes: 11 additions & 0 deletions atlantis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 3
automerge: false
projects:
- name: dev
dir: infra/environments/dev
terraform_version: v1.15.5
autoplan:
when_modified:
- "**/*.tf"
- ".terraform.lock.hcl"
- "../../modules/**/*.tf"
26 changes: 26 additions & 0 deletions infra/environments/dev/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions infra/environments/dev/backend.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Dev environment root — resources land in the Gaucho Racing Development
# member account (104050870528) via assume-role; state stays in the shared
# tfstate bucket in the management account under its own key.
terraform {
required_version = ">= 1.10"

backend "s3" {
bucket = "gaucho-racing-tfstate"
key = "environments/dev/terraform.tfstate"
region = "us-west-2"
encrypt = true
use_lockfile = true
}

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.0"
}
}
}

provider "aws" {
region = "us-west-2"

assume_role {
role_arn = "arn:aws:iam::104050870528:role/OrganizationAccountAccessRole"
}

default_tags {
tags = {
Environment = "dev"
ManagedBy = "terraform"
Repo = "gaucho-racing/infrastructure"
}
}
}
84 changes: 0 additions & 84 deletions infra/environments/prod/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions kubernetes/gr-foundry/apps/atlantis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: atlantis
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/Gaucho-Racing/infrastructure.git
targetRevision: main
path: kubernetes/gr-foundry/manifests/atlantis
destination:
server: https://kubernetes.default.svc
namespace: atlantis
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
Loading