This small project creates the base infrastructure for a TW Data Mesh Accelerator in AWS.
Creates the Terraform S3 Backend for EKS resources
Authenticate to ghcr.io to pull deployment enviornment
Create datamesh-base-admin profile and assume admin role using sso
PROFILE_NAME=datamesh-base-admin
aws configure set --profile "$PROFILE_NAME" sso_start_url "https://d-99672c8a5f.awsapps.com/start#/"
aws configure set --profile "$PROFILE_NAME" sso_region "eu-central-1"
aws configure set --profile "$PROFILE_NAME" sso_account_id "182174426630"
aws configure set --profile "$PROFILE_NAME" region "us-east-2"
aws configure set --profile "$PROFILE_NAME" sso_role_name "Admin-Account-Access"
aws sso login --profile $PROFILE_NAME
export AWS_DEFAULT_PROFILE=$PROFILE_NAME
create s3 backend for eks resources
task bootstrap-eks AWS_ADMIN_PROFILE=datamesh-base-admin
Push commit to trigger build-eks pipeline
- move k8/aws-auth management from Taskfile (eks create ...) into eks terraform module (manage_aws_auth_configmap var in eks module)