-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from waterbear-cloud/cookiecutter
Merge docs and cli cleanup
- Loading branch information
Showing
81 changed files
with
5,002 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ env | |
|
||
# AIM Resources | ||
Resources/ | ||
aim_ftest | ||
|
||
# Buildout | ||
bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: all | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
.wy-side-nav-search { | ||
background: #010101 !important; | ||
.wy-nav-content { | ||
background: #ffffff !important; | ||
} | ||
|
||
.wy-nav-content { | ||
max-width: 1000px !important; | ||
} | ||
|
||
.wy-nav-content p { | ||
font-size: 15px !important; | ||
} | ||
|
||
.wy-table-responsive table td, | ||
.wy-table-responsive table th { | ||
white-space: normal !important; | ||
} | ||
|
||
.wy-table td, | ||
.rst-content table.docutils td, | ||
.rst-content table.field-list td { | ||
vertical-align: top !important; | ||
} | ||
|
||
/* Icons */ | ||
.fa-check { | ||
color: green; | ||
font-size: 1.5em; | ||
} | ||
|
||
.fa-times { | ||
color: red; | ||
font-size: 1.5em; | ||
} |
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
|
||
Description: Creates a local Admin IAM user for AIM | ||
|
||
Parameters: | ||
|
||
AdminIAMUserName1: | ||
Type: String | ||
Default: 'you@example.com' | ||
Description: IAM user name of the AIM Administrator | ||
|
||
Resources: | ||
|
||
DelegateIAMRole: | ||
Type: AWS::IAM::Role | ||
DependsOn: AdminIAMUser1 | ||
Properties: | ||
RoleName: !Sub 'AIM-Admin-Delegate-Role' | ||
AssumeRolePolicyDocument: | ||
Version: '2012-10-17' | ||
Statement: | ||
- Effect: Allow | ||
Principal: | ||
AWS: !Sub 'arn:aws:iam::${AWS::AccountId}:user/${AdminIAMUserName1}' | ||
Action: sts:AssumeRole | ||
Condition: | ||
Bool: | ||
aws:MultiFactorAuthPresent: true | ||
ManagedPolicyArns: | ||
- 'arn:aws:iam::aws:policy/AdministratorAccess' | ||
|
||
AdminIAMUser1: | ||
Type: AWS::IAM::User | ||
Properties: | ||
UserName: !Ref AdminIAMUserName1 | ||
|
||
AdminIAMUser1Policy: | ||
Type: AWS::IAM::Policy | ||
DependsOn: | ||
- AdminIAMUser1 | ||
- DelegateIAMRole | ||
Properties: | ||
PolicyName: 'AIM-Admin-Assume-Role-Policy' | ||
PolicyDocument: | ||
Version: '2012-10-17' | ||
Statement: | ||
- Effect: Allow | ||
Action: sts:AssumeRole | ||
Resource: | ||
- !GetAtt DelegateIAMRole.Arn | ||
Users: | ||
- !Ref AdminIAMUser1 | ||
|
||
Outputs: | ||
|
||
DelegateIAMRoleName: | ||
Value: !Ref DelegateIAMRole | ||
|
||
DelegateIAMRoleArn: | ||
Value: !GetAtt DelegateIAMRole.Arn | ||
|
||
SigninUrl: | ||
Value: !Sub 'https://signin.aws.amazon.com/switchrole?account=${AWS::AccountId}&roleName=${DelegateIAMRole}' |
Oops, something went wrong.