Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more permissions to DevOps role in order try out more AWS services #312

Merged
merged 1 commit into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions apps-devstg/base-identities/service_linked_roles.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Many AWS services require that a Service Linked Role is created before you
# proceed to creating some resources.
# Typically when you create such resources through the AWS console, Service
# Linked Roles are automatically created for you -- although that depends on
# your permissions at the moment.
# Now, that won't work if you try to create the resources through the AWS CLI
# or Terraform. For those cases you may need to create the roles explicitly.
#

resource "aws_iam_service_linked_role" "ecs" {
aws_service_name = "ecs.amazonaws.com"
}
1 change: 1 addition & 0 deletions network/base-identities/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ resource "aws_iam_policy" "devops_access" {
"sns:*",
"sqs:*",
"ssm:*",
"sts:*",
"support:*",
"tag:*",
"trustedadvisor:*",
Expand Down
4 changes: 4 additions & 0 deletions shared/base-identities/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ resource "aws_iam_policy" "devops_access" {
"acm:*",
"athena:*",
"autoscaling:*",
"appconfig:*",
"application-autoscaling:*",
"apprunner:*",
"apigateway:*",
"aws-portal:*",
"aws-marketplace:*",
Expand All @@ -44,6 +46,7 @@ resource "aws_iam_policy" "devops_access" {
"ecr-public:*",
"ecs:*",
"eks:*",
"elasticbeanstalk:*",
"elasticloadbalancing:*",
"es:*",
"events:*",
Expand All @@ -53,6 +56,7 @@ resource "aws_iam_policy" "devops_access" {
"iam:*",
"kms:*",
"lambda:*",
"lightsail:*",
"logs:*",
"ram:*",
"rds:*",
Expand Down