apply review comments
This commit is contained in:
parent
6b3389c4b1
commit
64bc77a73e
1 changed files with 6 additions and 2 deletions
|
|
@ -192,6 +192,9 @@
|
||||||
inherit email userName firstName lastName;
|
inherit email userName firstName lastName;
|
||||||
|
|
||||||
isEmailVerified = true;
|
isEmailVerified = true;
|
||||||
|
lifecycle = {
|
||||||
|
ignore_changes = ["first_name" "last_name" "user_name"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|> withRef "org" org
|
|> withRef "org" org
|
||||||
|> toResource "${org}_${name}"
|
|> toResource "${org}_${name}"
|
||||||
|
|
@ -328,6 +331,7 @@ in {
|
||||||
|
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
wants = ["zitadel.service"];
|
wants = ["zitadel.service"];
|
||||||
|
after = ["zitadel.service"];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
install -d -m 0770 -o zitadel -g media /var/lib/infra-zitadel
|
install -d -m 0770 -o zitadel -g media /var/lib/infra-zitadel
|
||||||
|
|
@ -352,7 +356,7 @@ in {
|
||||||
${tofu} init
|
${tofu} init
|
||||||
|
|
||||||
# Run the infrastructure code
|
# Run the infrastructure code
|
||||||
${tofu} plan -refresh=false -detailed-exitcode -out=tfplan
|
${tofu} plan -out=tfplan
|
||||||
${tofu} apply -json -auto-approve tfplan
|
${tofu} apply -json -auto-approve tfplan
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
@ -361,7 +365,7 @@ in {
|
||||||
User = "zitadel";
|
User = "zitadel";
|
||||||
Group = "zitadel";
|
Group = "zitadel";
|
||||||
|
|
||||||
WorkingDirectory = "/var/lib/infra-zitadel";
|
StateDirectory = "/var/lib/infra-zitadel";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue