feat: geoshenanigans and cleanup (#114)

This commit is contained in:
Zack Pollard
2024-07-25 12:22:32 +02:00
committed by GitHub
parent 173ddcd45a
commit ce088713f0
2 changed files with 2 additions and 56 deletions
@@ -1,44 +0,0 @@
moved {
from = github_repository.repositories["my.immich.app"]
to = github_repository.myimmichapp
}
removed {
from = github_repository.myimmichapp
}
moved {
from = github_repository_file.default_files["my.immich.app/.editorconfig"]
to = github_repository_file.myimmichappeditor
}
removed {
from = github_repository_file.myimmichappeditor
}
moved {
from = github_repository_file.default_files["my.immich.app/LICENSE"]
to = github_repository_file.myimmichapplicense
}
removed {
from = github_repository_file.myimmichapplicense
}
moved {
from = github_repository_file.default_files["my.immich.app/CODE_OF_CONDUCT.md"]
to = github_repository_file.myimmichappcodeofconduct
}
removed {
from = github_repository_file.myimmichappcodeofconduct
}
moved {
from = github_repository_file.default_files["my.immich.app/SECURITY.md"]
to = github_repository_file.myimmichappsecurity
}
removed {
from = github_repository_file.myimmichappsecurity
}
+2 -12
View File
@@ -21,7 +21,8 @@ variable "repositories" {
{ name = "discord-bot", description = "A Discord bot for the official @immich-app Discord" },
{ name = "demo", description = "This repo contains the setup for the demo instance at https://demo.immich.app/" },
{ name = "test-assets", description = "Test assets used for testing Immich. Contains various formats and codecs" },
{ name = ".github", description = ".github folder for the organisation level", issues = false }
{ name = ".github", description = ".github folder for the organisation level", issues = false },
{ name = "geoshenanigans", description = "Geospatial shenanigans, reverse geocoding, map tiling, and maybe more..." }
]
}
@@ -57,12 +58,6 @@ resource "github_repository" "repositories" {
}
}
import {
to = github_repository.repositories[each.value.name]
id = each.value.name
for_each = { for repo in var.repositories : repo.name => repo }
}
resource "github_repository_ruleset" "main_ruleset" {
for_each = { for repo in var.repositories : repo.name => repo }
repository = each.value.name
@@ -100,11 +95,6 @@ resource "github_repository_ruleset" "main_ruleset" {
}
}
moved {
from = github_repository_ruleset.main_ruleset["my.immich.app"]
to = github_repository_ruleset.main_ruleset["static-pages"]
}
resource "github_repository_file" "default_files" {
for_each = {
for combination in flatten([