https://github.com/cloudtools/awsadminaccess
Utility to create an AWS AdministratorAccess account
https://github.com/cloudtools/awsadminaccess
Last synced: 10 months ago
JSON representation
Utility to create an AWS AdministratorAccess account
- Host: GitHub
- URL: https://github.com/cloudtools/awsadminaccess
- Owner: cloudtools
- License: bsd-2-clause
- Created: 2017-04-09T19:45:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-10T15:34:01.000Z (almost 9 years ago)
- Last Synced: 2025-03-25T03:01:35.116Z (11 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 4
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWSAdminAccess
In a lot of organizations there is a master AWS account and then
other accounts are added via consolidated billing. To better manage
the assets it is usually good to add a AdministratorAccess role to
the sub-account to allow the master account to monitor and control
costs on the sub-accounts. AWSAdminAccess provides a quick and easy
way to setup a trust policy for the AdministratorAccess.
## Running AWSAdminAccess
Download a binary for your system from the Releases page. You will
need to know the role name you want to create and the account number
of the master account.
```
AWSAdminAccess -r MasterAccountAccess -a 123456789012
```
## Building
To build the binaries it is preferable to use a docker build environment for
consistency. First build the docker buildn environment:
```
docker build -f build/Dockerfile-buildenv -t cloudtools:AWSAdminAccess-buildenv .
```
Next install the vendor package using glide:
```
glide install
```
And then build the binaries:
```
docker run -v `pwd`:/go/src/github.com/cloudtools/AWSAdminAccess -t cloudtools:AWSAdminAccess-buildenv bash -x build/build.sh
```