ci: move pages tf logic to use modules (#66)

This commit is contained in:
Zack Pollard
2024-11-26 14:35:37 +00:00
committed by GitHub
parent e1e7580b2a
commit feb645ba45
12 changed files with 118 additions and 259 deletions
+1 -6
View File
@@ -1,8 +1,5 @@
locals {
cloudflare_account_id = get_env("CLOUDFLARE_ACCOUNT_ID")
cloudflare_api_token = get_env("CLOUDFLARE_API_TOKEN")
tf_state_postgres_conn_str = get_env("TF_STATE_POSTGRES_CONN_STR")
tf_state_postgres_conn_str = get_env("TF_VAR_tf_state_postgres_conn_str")
}
remote_state {
@@ -14,7 +11,5 @@ remote_state {
}
inputs = {
cloudflare_account_id = local.cloudflare_account_id
cloudflare_api_token = local.cloudflare_api_token
tf_state_postgres_conn_str = local.tf_state_postgres_conn_str
}