Skip to content

Commit

Permalink
fix(examples): Fix errors in MongoDB Python example (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddneilson authored Feb 26, 2021
1 parent b418e8a commit e1bfc79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def __init__(self, scope: Construct, stack_id: str, *, props: StorageTierMongoDB
mongo_vpc_subnet = SubnetSelection(
subnet_type=SubnetType.PRIVATE,
availability_zones=[availability_zone]
),
)

mongo_db = MongoDbInstance(
self,
Expand All @@ -240,7 +240,7 @@ def __init__(self, scope: Construct, stack_id: str, *, props: StorageTierMongoDB
users=MongoDbUsers(
x509_auth_users=[
MongoDbX509User(
certificate=client_cert,
certificate=client_cert.cert,
roles=json.dumps([
{
'role': 'readWriteAnyDatabase',
Expand Down

0 comments on commit e1bfc79

Please sign in to comment.