diff --git a/sources/Cargo.lock b/sources/Cargo.lock index 287a6d9e43b..c8c67452b45 100644 --- a/sources/Cargo.lock +++ b/sources/Cargo.lock @@ -2818,6 +2818,7 @@ dependencies = [ "serde", "serde_json", "settings-extension-aws", + "settings-extension-cloudformation", "settings-extension-container-registry", "settings-extension-dns", "settings-extension-ecs", diff --git a/sources/models/Cargo.toml b/sources/models/Cargo.toml index 6335fc5a37f..72683aaaf53 100644 --- a/sources/models/Cargo.toml +++ b/sources/models/Cargo.toml @@ -19,6 +19,7 @@ toml = "0.8" # settings extensions settings-extension-aws = { path = "../settings-extensions/aws", version = "0.1" } +settings-extension-cloudformation = { path = "../settings-extensions/cloudformation", version = "0.1" } settings-extension-container-registry = { path = "../settings-extensions/container-registry", version = "0.1" } settings-extension-dns = { path = "../settings-extensions/dns", version = "0.1" } settings-extension-ecs = { path = "../settings-extensions/ecs", version = "0.1" } diff --git a/sources/models/src/aws-dev/mod.rs b/sources/models/src/aws-dev/mod.rs index 942add81b8d..d9e347d59c6 100644 --- a/sources/models/src/aws-dev/mod.rs +++ b/sources/models/src/aws-dev/mod.rs @@ -1,9 +1,7 @@ use model_derive::model; use std::collections::HashMap; -use crate::{ - BootSettings, BootstrapContainer, CloudFormationSettings, HostContainer, NetworkSettings, -}; +use crate::{BootSettings, BootstrapContainer, HostContainer, NetworkSettings}; use modeled_types::Identifier; // Note: we have to use 'rename' here because the top-level Settings structure is the only one @@ -23,6 +21,6 @@ struct Settings { pki: settings_extension_pki::PkiSettingsV1, container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, } diff --git a/sources/models/src/aws-ecs-1-nvidia/mod.rs b/sources/models/src/aws-ecs-1-nvidia/mod.rs index e998eca8463..1635a56640f 100644 --- a/sources/models/src/aws-ecs-1-nvidia/mod.rs +++ b/sources/models/src/aws-ecs-1-nvidia/mod.rs @@ -1,10 +1,7 @@ use model_derive::model; use std::collections::HashMap; -use crate::{ - AutoScalingSettings, BootstrapContainer, CloudFormationSettings, HostContainer, - NetworkSettings, OciDefaults, -}; +use crate::{AutoScalingSettings, BootstrapContainer, HostContainer, NetworkSettings, OciDefaults}; use modeled_types::Identifier; // Note: we have to use 'rename' here because the top-level Settings structure is the only one @@ -25,7 +22,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, autoscaling: AutoScalingSettings, dns: settings_extension_dns::DnsSettingsV1, } diff --git a/sources/models/src/aws-ecs-1/mod.rs b/sources/models/src/aws-ecs-1/mod.rs index e998eca8463..1635a56640f 100644 --- a/sources/models/src/aws-ecs-1/mod.rs +++ b/sources/models/src/aws-ecs-1/mod.rs @@ -1,10 +1,7 @@ use model_derive::model; use std::collections::HashMap; -use crate::{ - AutoScalingSettings, BootstrapContainer, CloudFormationSettings, HostContainer, - NetworkSettings, OciDefaults, -}; +use crate::{AutoScalingSettings, BootstrapContainer, HostContainer, NetworkSettings, OciDefaults}; use modeled_types::Identifier; // Note: we have to use 'rename' here because the top-level Settings structure is the only one @@ -25,7 +22,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, autoscaling: AutoScalingSettings, dns: settings_extension_dns::DnsSettingsV1, } diff --git a/sources/models/src/aws-ecs-2-nvidia/mod.rs b/sources/models/src/aws-ecs-2-nvidia/mod.rs index cf403b466f8..6d41cb1ecb2 100644 --- a/sources/models/src/aws-ecs-2-nvidia/mod.rs +++ b/sources/models/src/aws-ecs-2-nvidia/mod.rs @@ -2,8 +2,8 @@ use model_derive::model; use std::collections::HashMap; use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, HostContainer, - NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, HostContainer, NetworkSettings, + OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, autoscaling: AutoScalingSettings, dns: settings_extension_dns::DnsSettingsV1, } diff --git a/sources/models/src/aws-ecs-2/mod.rs b/sources/models/src/aws-ecs-2/mod.rs index cf403b466f8..6d41cb1ecb2 100644 --- a/sources/models/src/aws-ecs-2/mod.rs +++ b/sources/models/src/aws-ecs-2/mod.rs @@ -2,8 +2,8 @@ use model_derive::model; use std::collections::HashMap; use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, HostContainer, - NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, HostContainer, NetworkSettings, + OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, autoscaling: AutoScalingSettings, dns: settings_extension_dns::DnsSettingsV1, } diff --git a/sources/models/src/aws-k8s-1.24-nvidia/mod.rs b/sources/models/src/aws-k8s-1.24-nvidia/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.24-nvidia/mod.rs +++ b/sources/models/src/aws-k8s-1.24-nvidia/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.24/mod.rs b/sources/models/src/aws-k8s-1.24/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.24/mod.rs +++ b/sources/models/src/aws-k8s-1.24/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.25-nvidia/mod.rs b/sources/models/src/aws-k8s-1.25-nvidia/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.25-nvidia/mod.rs +++ b/sources/models/src/aws-k8s-1.25-nvidia/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.25/mod.rs b/sources/models/src/aws-k8s-1.25/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.25/mod.rs +++ b/sources/models/src/aws-k8s-1.25/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.26-nvidia/mod.rs b/sources/models/src/aws-k8s-1.26-nvidia/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.26-nvidia/mod.rs +++ b/sources/models/src/aws-k8s-1.26-nvidia/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.26/mod.rs b/sources/models/src/aws-k8s-1.26/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.26/mod.rs +++ b/sources/models/src/aws-k8s-1.26/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.30-nvidia/mod.rs b/sources/models/src/aws-k8s-1.30-nvidia/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.30-nvidia/mod.rs +++ b/sources/models/src/aws-k8s-1.30-nvidia/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings, diff --git a/sources/models/src/aws-k8s-1.30/mod.rs b/sources/models/src/aws-k8s-1.30/mod.rs index 6892bc6098e..d9b37c90764 100644 --- a/sources/models/src/aws-k8s-1.30/mod.rs +++ b/sources/models/src/aws-k8s-1.30/mod.rs @@ -1,6 +1,6 @@ use crate::{ - AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, - ContainerRuntimeSettings, HostContainer, KubernetesSettings, NetworkSettings, OciDefaults, + AutoScalingSettings, BootSettings, BootstrapContainer, ContainerRuntimeSettings, HostContainer, + KubernetesSettings, NetworkSettings, OciDefaults, }; use modeled_types::Identifier; @@ -26,7 +26,7 @@ struct Settings { container_registry: settings_extension_container_registry::RegistrySettingsV1, oci_defaults: OciDefaults, oci_hooks: settings_extension_oci_hooks::OciHooksSettingsV1, - cloudformation: CloudFormationSettings, + cloudformation: settings_extension_cloudformation::CloudFormationSettingsV1, dns: settings_extension_dns::DnsSettingsV1, container_runtime: ContainerRuntimeSettings, autoscaling: AutoScalingSettings,