Skip to content

Commit

Permalink
Remove service infra thing
Browse files Browse the repository at this point in the history
  • Loading branch information
aelred committed Oct 30, 2023
1 parent 9461856 commit 6c98aa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
22 changes: 4 additions & 18 deletions deploy/infrastructure/main.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
module service {
source = "github.com/aelred/provision//modules/service"
name = "tetris"
image = "tetris-server"
}

module s3_site {
source = "github.com/aelred/provision//modules/s3_site"
module "s3_site" {
source = "github.com/aelred/provision//modules/s3_site"
repository = "tetris"
domain = "ael.red"
subdomain = "tetris"
}

output next_steps {
value = module.service.next_steps
}

output dockerhub_webhook_url {
value = module.service.dockerhub_webhook_url
domain = "ael.red"
subdomain = "tetris"
}
8 changes: 2 additions & 6 deletions deploy/infrastructure/provider.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
provider aws {
provider "aws" {
region = "eu-west-2"
}

provider github {}

provider kubernetes {
config_path = "~/.kube/config"
}
provider "github" {}

0 comments on commit 6c98aa4

Please sign in to comment.