Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fixed scp for region limit
1 parent
fcab2ba
commit a54f079
Showing
2 changed files
with
39 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
docker ps -ef |
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,37 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "DenyAllOutsideUS", | ||
"Effect": "Deny", | ||
"NotAction": [ | ||
"iam:*", | ||
"organizations:*", | ||
"route53:*", | ||
"budgets:*", | ||
"waf:*", | ||
"cloudfront:*", | ||
"globalaccelerator:*", | ||
"importexport:*", | ||
"support:*", | ||
"sts:*" | ||
], | ||
"Resource": "*", | ||
"Condition": { | ||
"StringNotEquals": { | ||
"aws:RequestedRegion": [ | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2" | ||
] | ||
}, | ||
"StringNotLike": { | ||
"aws:PrincipalArn": [ | ||
"arn:aws:iam::*:role/NetIDSuperAdmistratorAccess", | ||
"arn:aws:iam::*:role/NetIDCloudTeamAccess"] | ||
} | ||
} | ||
} | ||
] | ||
} |