Skip to content

Commit a07ec9c

Browse files
authored
fix: Updates policy in atlas-bootstrap. (#212)
1 parent 8aebcc7 commit a07ec9c

File tree

1 file changed

+0
-3
lines changed
  • src/l3-resources/atlas-bootstrap

1 file changed

+0
-3
lines changed

src/l3-resources/atlas-bootstrap/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
aws_cloudformation as cloudformation,
66
SecretValue,
77
Duration,
8-
Aws,
98
} from "aws-cdk-lib";
109
import { Construct } from "constructs";
1110

@@ -83,8 +82,6 @@ export class MongoAtlasBootstrap extends Construct {
8382
resources: ["*"],
8483
});
8584

86-
policyStatement.addSourceAccountCondition(Aws.ACCOUNT_ID);
87-
8885
const atlasCdkPolicy = new iam.Policy(this, "AtlasCDKExecutionPolicy", {
8986
policyName: "AtlasCDKExecution", // Custom Policy Name
9087
statements: [policyStatement],

0 commit comments

Comments
 (0)