Skip to content

Commit

Permalink
update oidc permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
alismx committed Dec 11, 2024
1 parent 9c7e63e commit 3300586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/implementation/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ module "ecs" {
# If the intent is to disable authentication, set ecr_viewer_app_env to "test" (default is "prod")
# ecr_viewer_app_env = "test"

# If the intent is to disable autoscaling, set autoscaling to false (default is true)
enable_autoscaling = false

# If intent is to use a metadata database for polutating the ecr-viewer library, setup the database data object to connect to the database (supported databases are postgres and sqlserver)
# Postgresql database example
# postgres_database_data = {
Expand Down
3 changes: 3 additions & 0 deletions terraform/modules/oidc/_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ data "aws_iam_policy_document" "wildcard" {
"acm:DescribeCertificate",
"acm:GetCertificate",
"acm:ListTagsForCertificate",
"application-autoscaling:DescribeScalableTargets",
"application-autoscaling:DescribeScalingPolicies",
"application-autoscaling:ListTagsForResource",
"ec2:DescribeAddresses",
"ec2:DescribeVpcEndpoints",
"ec2:DescribePrefixLists",
Expand Down

0 comments on commit 3300586

Please sign in to comment.