#refarch - February 2023

refarchArchived
34 messages

Cloud Posse Reference Architecture

February 2023
erik
erikalmost 4 years ago
@Erik Osterman (Cloud Posse) has joined the channel
erik
erikalmost 4 years ago
set the channel description: Cloud Posse Reference Architecture
Christopher Pieper
Christopher Pieperalmost 4 years ago
@Christopher Pieper has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 4 years ago
Ben Smith (Benbentwo)
Ben Smith (Benbentwo)almost 4 years ago
@Ben Smith (Benbentwo) has joined the channel
Dan Miller (tembo)
Dan Miller (tembo)almost 4 years ago
@Dan Miller (tembo) has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 4 years ago
<!subteam^S0316FFT4M9|@cloudposse-team>
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 4 years ago
@Andriy Knysh (Cloud Posse) has joined the channel
Jeremy G
Jeremy Galmost 4 years ago
@Jeremy G has joined the channel
johncblandii
johncblandiialmost 4 years ago
@johncblandii has joined the channel
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)almost 4 years ago
@Maxim Mironenko (Cloud Posse) has joined the channel
Andy Miguel
Andy Miguelalmost 4 years ago
@Andy Miguel has joined the channel
Yonatan Koren
Yonatan Korenalmost 4 years ago
@Yonatan Koren has joined the channel
RB (pat leave again)
RB (pat leave again)almost 4 years ago
@RB (pat leave again) has joined the channel
Dan Meyers
Dan Meyersalmost 4 years ago
@Dan Meyers has joined the channel
Hugo Samayoa
Hugo Samayoaalmost 4 years ago
@Hugo Samayoa has joined the channel
Steven Hopkins
Steven Hopkinsalmost 4 years ago
@Steven Hopkins has joined the channel
Max Lobur
Max Loburalmost 4 years ago
@Max Lobur has joined the channel
Leo Przybylski
Leo Przybylskialmost 4 years ago
@Leo Przybylski has joined the channel
Lucky
Luckyalmost 4 years ago
@Lucky has joined the channel
Ralf Pieper
Ralf Pieperalmost 4 years ago
@Ralf Pieper has joined the channel
Omry Hay
Omry Hayalmost 4 years ago
@Omry Hay has joined the channel
johntellsall
johntellsallalmost 4 years ago
@johntellsall has joined the channel
johncblandii
johncblandiiover 3 years ago
hey folks, i'm working through setting up the refarch and I have aws-teams, aws-team-roles, and aws-sso deployed. I'm unable to use my SSO creds to run Terraform, though.

All of my configs are basically straight from the module READMEs except the permission_sets in tfstate-backend and teams/team-roles. Any insight here would be great

√ . [xy-core-gbl-identity] (HOST) infrastructure ⨠ aws sts get-caller-identity
{
    "UserId": "AROXYZDFHBTIJLNHGWBBH:John.Bland@somewhere.com",
    "Account": "0123456789",
    "Arn": "arn:aws:sts::0123456789:assumed-role/AWSReservedSSO_IdentityAdminRoleAccess_xzypdq/John.Bland@somewhere.com"
}

√ . [xy-core-gbl-identity] (HOST) infrastructure ⨠ aws sts get-caller-identity --profile xy-core-gbl-identity-admin
{
    "UserId": "AROXYZDFHBTIKLO6H2Y6S:botocore-session-1677008620",
    "Account": "0123456789",
    "Arn": "arn:aws:sts::0123456789:assumed-role/xy-core-gbl-identity-admin/botocore-session-1677008620"
}

√ . [xy-core-gbl-identity] (HOST) infrastructure ⨠ aws sts get-caller-identity --profile xy-core-gbl-audit-admin

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::0123456789:assumed-role/AWSReservedSSO_IdentityAdminRoleAccess_xzypdq/John.Bland@somewhere.com is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::9876543210:role/xy-core-gbl-audit-admin

√ . [xy-core-gbl-identity] (HOST) infrastructure ⨠ aws sts get-caller-identity --profile xy-core-gbl-root-terraform

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::0123456789:assumed-role/AWSReservedSSO_IdentityAdminRoleAccess_xzypdq/John.Bland@somewhere.com is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::456789321:role/xy-core-gbl-root-terraform
johncblandii
johncblandiiover 3 years ago(edited)
oh and i'm SSO auth'd from Leapp, renamed role to the xy-core-gbl-identity which can assume role to xy-core-gbl-admin just fine
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 3 years ago
@Sean Nguyen @Christopher Pieper @Alex Siegman @Michael Pursifull @Amrutha Sunkara
Sean Nguyen
Sean Nguyenover 3 years ago
@Sean Nguyen has joined the channel
Alex Siegman
Alex Siegmanover 3 years ago
@Alex Siegman has joined the channel
Michael Pursifull
Michael Pursifullover 3 years ago
@Michael Pursifull has joined the channel
Amrutha Sunkara
Amrutha Sunkaraover 3 years ago
@Amrutha Sunkara has joined the channel
Sean Nguyen
Sean Nguyenover 3 years ago
🫡
Sean Nguyen
Sean Nguyenover 3 years ago(edited)
We have a single administrative stack, but lately have found it takes a very long time to plan given that the # of our stacks has recently exploded (we’re at 1200+ Spacelift stacks currently).

Has anyone considered splitting their administrative stack into multiple admin stacks? Perhaps along tenant lines
johncblandii
johncblandiiover 3 years ago
the only policy attached to an admin stack is TRIGGER Administrative Policy. shouldn't it get the git push-specific policies too?
johncblandii
johncblandiiover 3 years ago
worker pools user-data.sh is failing to run after this log and before the next. Any ideas why this would fail to run?

  echo "Turning on swap" | tee -a /var/log/spacelift/info.log
  dd if=/dev/zero of=/swapfile bs=128M count=32 2>/var/log/spacelift/error.log
  chmod 600 /swapfile 2>/var/log/spacelift/error.log
  mkswap /swapfile 2>/var/log/spacelift/error.log
  swapon /swapfile 2>/var/log/spacelift/error.log
  swapon -s | tee -a /var/log/spacelift/info.log
No earlier messagesBrowse by dateMarch 2023