File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11{
2- "python.analysis.diagnosticMode" : " workspace" ,
3- "python.analysis.typeCheckingMode" : " basic" ,
4- "python.formatting.provider" : " black" ,
5- "python.testing.pytestEnabled" : true ,
6- "editor.formatOnSave" : true
7- }
2+ "python.analysis.diagnosticMode" : " workspace" ,
3+ "python.analysis.typeCheckingMode" : " basic" ,
4+ "python.formatting.provider" : " black" ,
5+ "python.testing.pytestEnabled" : true ,
6+ "editor.formatOnSave" : true ,
7+ "[python]" : {
8+ "editor.defaultFormatter" : " ms-python.black-formatter"
9+ }
10+ }
Original file line number Diff line number Diff line change 1- 1 .0.0
1+ 2 .0.0
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def create_database_server(
99 scope : Construct ,
1010 id : str ,
1111 vpc : ec2 .IVpc ,
12- subnet_type : ec2 .SubnetType ,
12+ subnet_selection : ec2 .SubnetSelection ,
1313 deletion_protect : bool ,
1414 db_name : Optional [str ] = None ,
1515 db_snapshot_arn : Optional [str ] = None ,
@@ -38,7 +38,7 @@ def create_database_server(
3838 "instance_identifier" : "-" .join (
3939 [v for v in [Stack .of (scope ).stack_name , identifier ] if v ]
4040 ),
41- "vpc_subnets" : { "subnet_type" : subnet_type } ,
41+ "vpc_subnets" : subnet_selection ,
4242 "deletion_protection" : deletion_protect ,
4343 "removal_policy" : (
4444 RemovalPolicy .SNAPSHOT if deletion_protect else RemovalPolicy .DESTROY
You can’t perform that action at this time.
0 commit comments