Skip to content

Commit

Permalink
feat(bootstrap): force toolkit bucket private (#3695)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoegertn authored and mergify[bot] committed Aug 18, 2019
1 parent 7ec8db2 commit d1ee4ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/aws-cdk/lib/api/bootstrap-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ export async function bootstrapEnvironment(environment: cxapi.Environment, aws:
KMSMasterKeyID: props.kmsKeyId,
},
}]
}
},
PublicAccessBlockConfiguration: {
BlockPublicAcls: true,
BlockPublicPolicy: true,
IgnorePublicAcls: true,
RestrictPublicBuckets: true,
},
}
}
},
Expand Down

0 comments on commit d1ee4ba

Please sign in to comment.