Skip to content

Commit 74fc063

Browse files
committed
fix(cloudformation): thread analytics + serviceConnect config through provisioners
1 parent 234f137 commit 74fc063

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

crates/fakecloud-cloudformation/src/resource_provisioner/cognito.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ impl ResourceProvisioner {
261261
.unwrap_or(false),
262262
client_secrets: Vec::new(),
263263
refresh_token_rotation: None,
264+
analytics_configuration: props
265+
.get("AnalyticsConfiguration")
266+
.filter(|v| !v.is_null())
267+
.cloned(),
264268
};
265269

266270
state.user_pool_clients.insert(client_id.clone(), client);

crates/fakecloud-cloudformation/src/resource_provisioner/ecs.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ impl ResourceProvisioner {
393393
capacity_provider_strategy,
394394
availability_zone_rebalancing,
395395
volume_configurations: Vec::new(),
396+
service_connect_configuration: props
397+
.get("ServiceConnectConfiguration")
398+
.filter(|v| !v.is_null())
399+
.cloned(),
396400
};
397401
state.services.insert(key.clone(), service);
398402
if let Some(c) = state.clusters.get_mut(&cluster_name) {

0 commit comments

Comments
 (0)