diff --git a/compute/ecs_service/rvn-ecs-nlb-definition.yml b/compute/ecs_service/rvn-ecs-nlb-definition.yml index 8a1b93f6..3e24dd8d 100644 --- a/compute/ecs_service/rvn-ecs-nlb-definition.yml +++ b/compute/ecs_service/rvn-ecs-nlb-definition.yml @@ -3,8 +3,8 @@ definition: name: ECS Network Service description: Network Load Balanced ECS service for running TCP, UDP, or TLS workloads behind an ECS cluster Network Load Balancer. release: - version: 0.3.1 - description: Improve build source, Railpack command, and builder instance guidance. + version: 0.3.2 + description: Allow existing services to upgrade to the `listeners` input without being recreated. module: inputs: - id: section_cluster @@ -48,6 +48,14 @@ module: - id: listeners immutable: true label: Listeners + moved_from: + - listener_port + - listener_protocol + - container_port + - tls_certificate + - tls_ssl_policy + - tls_alpn_policy + - tls_target_protocol type: object_array description: One to five NLB listeners and the unique container port each listener targets. required: true diff --git a/module-schema.json b/module-schema.json index 25c46329..d449d09c 100644 --- a/module-schema.json +++ b/module-schema.json @@ -138,6 +138,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "type": "string" }, "placeholder": { "type": "string" }, @@ -156,6 +157,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "type": "string" }, "placeholder": { "type": "string" }, @@ -172,6 +174,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "description": "Default JSON value (any valid JSON)" }, "placeholder": { "type": "string" }, @@ -187,6 +190,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "type": "array", "items": { "type": "string" } }, "placeholder": { "type": "string" }, @@ -204,6 +208,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "type": "integer" }, "placeholder": { "type": "string" }, @@ -223,6 +228,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "default": { "type": "boolean" } } @@ -245,6 +251,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "fields": { "type": "array", "items": { "type": "string" }, "minItems": 1, "description": "Field names to expose from the selected compound value" }, "default": { "type": "object", "additionalProperties": { "$ref": "#/$defs/CompoundFieldValue" } }, @@ -262,6 +269,7 @@ "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "immutable": { "type": "boolean", "default": false }, + "moved_from": { "type": "array", "items": { "type": "string" }, "description": "Input IDs from earlier module versions whose values this input now holds. Upgrading an existing instance does not trip the immutable input check for the listed inputs or for this one." }, "show_when": { "$ref": "#/$defs/ShowWhen" }, "mapping": { "type": "object", diff --git a/security/acm_certificate/rvn-acm-certificate-definition.yml b/security/acm_certificate/rvn-acm-certificate-definition.yml index 4f1ebaf4..bd900128 100644 --- a/security/acm_certificate/rvn-acm-certificate-definition.yml +++ b/security/acm_certificate/rvn-acm-certificate-definition.yml @@ -3,8 +3,8 @@ definition: name: ACM Certificate description: Requests an AWS Certificate Manager public certificate with DNS validation. release: - version: 0.4.0 - description: "BREAKING: Replace `domain_name` and `subject_alternative_names` with `domains`. Put the primary domain first and all subject alternative names after it." + version: 0.4.1 + description: Allow existing certificates to upgrade to the `domains` input without being recreated. module: inputs: - $include: ../../partials/inputs/aws-account.yml @@ -28,6 +28,9 @@ module: id: domains immutable: true label: Domains + moved_from: + - domain_name + - subject_alternative_names placeholder: api.example.com required: true type: string_array