GithubHelp home page GithubHelp logo

isabella232 / aws-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zohorul/aws-admin

0.0 0.0 0.0 360 KB

TTS-wide AWS Administration

License: Other

HCL 79.95% Shell 12.51% Python 7.54%

aws-admin's Introduction

TTS-wide AWS Account Adminstration

Build Status

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.

Jump account: 133032889584

Setup

  1. Set up AWS credentials for jump account.

  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.

From the Console

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

More info.

Locally

Terraform will generate an AWS config file.

  1. Run the following from this directory (the -target part is optional):

    terraform apply -target=local_file.aws_config
  2. Copy the config file.

    mkdir -p ~/.aws
    cp aws_config.ini ~/.aws/config
  3. Use the named profiles with the AWS CLI or other tools.

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.

aws-admin's People

Contributors

afeld avatar amitfreeman-gov avatar cantsin avatar its-a-lisa-at-work avatar jjediny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.