-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed9b54c
commit 686642e
Showing
19 changed files
with
69 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
### Project gitignore | ||
.env | ||
|
||
### VisualStudioCode template | ||
.vscode/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export TF_VAR_cloudflare_account_id="op://tf/cloudflare/account_id" | ||
export TF_VAR_cloudflare_api_token="op://tf/cloudflare/api_token" | ||
export TF_VAR_tf_state_postgres_conn_str="op://tf/tf_state/postgres_conn_str" | ||
export TF_VAR_github_app_installation_id="op://tf/github_app_immich_tofu/installation_id" | ||
export TF_VAR_github_app_id="op://tf/github_app_immich_tofu/app_id" | ||
export TF_VAR_github_app_pem_file="op://tf/github_app_immich_tofu/private key" | ||
export TF_VAR_github_owner="op://tf/github_app_immich_tofu/owner" | ||
export TF_VAR_op_service_account_token="op://tf/1pass_service_account/api_token" | ||
export DOCKER_USERNAME="op://tf/dockerhub/username" | ||
export DOCKER_PASSWORD="op://tf/dockerhub/password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
provider "onepassword" { | ||
service_account_token = var.op_service_account_token | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
variable "op_service_account_token" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
provider "cloudflare" { | ||
api_token = data.terraform_remote_state.api_keys_state.outputs.terraform_key_cloudflare_account | ||
} | ||
|
||
provider "onepassword" { | ||
service_account_token = var.op_service_account_token | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
variable "cloudflare_account_id" {} | ||
variable "tf_state_postgres_conn_str" {} | ||
variable "op_service_account_token" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
provider "cloudflare" {} | ||
provider "cloudflare" { | ||
api_token = var.cloudflare_api_token | ||
} | ||
|
||
provider "onepassword" {} | ||
provider "onepassword" { | ||
service_account_token = var.op_service_account_token | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
variable "op_service_account_token" {} | ||
variable "cloudflare_api_token" {} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
provider "github" { | ||
app_auth {} | ||
app_auth { | ||
id = var.github_app_id | ||
installation_id = var.github_app_installation_id | ||
pem_file = var.github_app_pem_file | ||
} | ||
owner = var.github_owner | ||
} | ||
|
||
provider "onepassword" {} | ||
provider "onepassword" { | ||
service_account_token = var.op_service_account_token | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
variable "tf_state_postgres_conn_str" {} | ||
|
||
variable "github_app_id" {} | ||
variable "github_app_installation_id" {} | ||
variable "github_app_pem_file" {} | ||
variable "github_owner" {} | ||
|
||
variable "op_service_account_token" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters