mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-09-30 08:03:19 +00:00
fix(iam): allow backend Terraform refresh (PLAT-141) (#134)
* fix(iam): allow backend import plan reads * fix(iam): authorize backend EB refresh * fix(iam): authorize backend EB ownership check
This commit is contained in:
parent
6a0713f49d
commit
559eed1e98
1 changed files with 15 additions and 0 deletions
|
|
@ -3217,6 +3217,7 @@ Resources:
|
|||
Effect: Allow
|
||||
Action:
|
||||
- acm:ListCertificates
|
||||
- autoscaling:DescribeAutoScalingGroups
|
||||
- ec2:DescribeSecurityGroups
|
||||
- ec2:DescribeSubnets
|
||||
- ec2:DescribeVpcs
|
||||
|
|
@ -3227,12 +3228,26 @@ Resources:
|
|||
- elasticbeanstalk:DescribeEnvironments
|
||||
- elasticbeanstalk:ListTagsForResource
|
||||
- rds:DescribeDBInstances
|
||||
- route53:ListHostedZones
|
||||
- route53:ListHostedZonesByName
|
||||
Resource: "*"
|
||||
# Elastic Beanstalk DescribeConfigurationSettings calls
|
||||
# CreateBucket against its existing regional service bucket
|
||||
# during both plan and apply refresh.
|
||||
- Sid: AuthorizeExistingEbBucketDiscovery
|
||||
Effect: Allow
|
||||
Action:
|
||||
- s3:CreateBucket
|
||||
- s3:PutBucketOwnershipControls
|
||||
Resource: arn:aws:s3:::elasticbeanstalk-us-east-1-396287094661
|
||||
Condition:
|
||||
StringEquals:
|
||||
s3:x-amz-object-ownership: ObjectWriter
|
||||
- Sid: ReadSharedCertificate
|
||||
Effect: Allow
|
||||
Action:
|
||||
- acm:DescribeCertificate
|
||||
- acm:GetCertificate
|
||||
- acm:ListTagsForCertificate
|
||||
Resource: arn:aws:acm:us-east-1:396287094661:certificate/2b78e74f-7b65-4b82-a413-7a498b102f00
|
||||
- Sid: ReadSharedRdsTags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue