devopsotrator / aws-admin

TTS-wide AWS Administration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTS-wide AWS Account Adminstration

This repository contains AWS cross-account management for the Technology Transform Service (TTS) and is managed by the TTS Technology Portfolio within the General Services Administration.

Setup

  1. Set up AWS credentials for the AWS account 133032889584

  2. Install Terraform

  3. Clone this repository

  4. Set up Terraform

    cd aws-admin/terraform
    terraform init
  5. Confirm the AWS connection works

    terraform plan

Cross-account access

Based on these steps.

Source account: 133032889584

Signing in to destination accounts

  1. Log in to the source account using IAM
  2. Use the Switch role URL from the AWS accounts list

More info.

Budgets

Budgets are listed by business unit in two places:

To add a new one:

  1. Sign into the payer account
  2. Go to the Parameter Store
  3. Create a parameter
    1. For Name, use /tts/aws-budget/<BUSINESS UNIT>
      • Make <BUSINESS UNIT> lower-case, alphanumeric, with hyphens
    2. For Value, enter the monthly budget as an integer
  4. Mimic use of the business_unit module

Parameter Store is used to keep the values private.

About

TTS-wide AWS Administration

License:Other


Languages

Language:HCL 86.5%Language:Shell 13.5%