feat(users/flokli/archivist): init
This introduces a new structure, as activities are moved to a separate AWS Account for reasons (tm). Change-Id: Ic310eca2dc0d4ee81bae8944238b26910067336a Reviewed-on: https://cl.tvl.fyi/c/depot/+/10124 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
e65fa82d74
commit
5161c3c072
2 changed files with 29 additions and 0 deletions
1
users/flokli/archivist/OWNERS
Normal file
1
users/flokli/archivist/OWNERS
Normal file
|
@ -0,0 +1 @@
|
|||
edef
|
28
users/flokli/archivist/default.nix
Normal file
28
users/flokli/archivist/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ depot
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
depot.nix.readTree.drvTargets {
|
||||
shell = pkgs.mkShell {
|
||||
name = "archivist-shell";
|
||||
packages = with pkgs; [ awscli2 ];
|
||||
|
||||
AWS_PROFILE = "archivist";
|
||||
AWS_CONFIG_FILE = pkgs.writeText "aws-config" ''
|
||||
[sso-session nixos]
|
||||
sso_region = eu-north-1
|
||||
sso_start_url = https://nixos.awsapps.com/start
|
||||
sso_registration_scopes = sso:account:access
|
||||
|
||||
[profile "archivist"]
|
||||
sso_session = nixos
|
||||
sso_account_id = 286553126452
|
||||
sso_role_name = AWSAdministratorAccess
|
||||
|
||||
[profile "archeologist"]
|
||||
sso_session = nixos
|
||||
sso_account_id = 080433136561
|
||||
sso_role_name = archeologist
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue