|
18 | 18 | config = Config() |
19 | 19 |
|
20 | 20 | vpc_stack = vpc.VpcStack( |
21 | | - tags=config.tags, |
22 | | - scope=app, |
23 | | - id=config.build_service_name("pgSTAC-vpc"), |
24 | | - nat_gateway_count=config.nat_gateway_count, |
| 21 | + tags=config.tags, scope=app, id=config.build_service_name("pgSTAC-vpc"), **config |
25 | 22 | ) |
26 | 23 |
|
27 | | - |
28 | 24 | pgstac_infra_stack = pgStacInfra.pgStacInfraStack( |
29 | 25 | scope=app, |
30 | | - tags=config.tags, |
31 | 26 | id=config.build_service_name("pgSTAC-infra"), |
32 | 27 | vpc=vpc_stack.vpc, |
33 | 28 | stac_api_lambda_name=config.build_service_name("STAC API"), |
34 | 29 | titiler_pgstac_api_lambda_name=config.build_service_name("titiler pgSTAC API"), |
35 | 30 | tipg_api_lambda_name=config.build_service_name("tipg API"), |
36 | | - stage=config.stage, |
37 | | - db_allocated_storage=config.db_allocated_storage, |
38 | | - public_db_subnet=config.public_db_subnet, |
39 | | - db_instance_type=config.db_instance_type, |
40 | | - bastion_host_allow_ip_list=config.bastion_host_allow_ip_list, |
41 | | - bastion_host_create_elastic_ip=config.bastion_host_create_elastic_ip, |
42 | 31 | bastion_host_user_data=yaml.dump(config.bastion_host_user_data), |
43 | | - titiler_buckets=config.titiler_buckets, |
44 | | - data_access_role_arn=config.data_access_role_arn, |
45 | | - auth_provider_jwks_url=config.auth_provider_jwks_url, |
| 32 | + **config |
46 | 33 | ) |
47 | 34 | app.synth() |
0 commit comments